Psr2 Code Generator

DocblockPart

Docblock Part.

Setting and getting a docblock on a model

Tags
author

Thomas Gossmann

Table of Contents

$docblock  : Docblock
getDocblock()  : Docblock
Returns the docblock.
setDocblock()  : $this
Sets the docblock.

Properties

Methods

getDocblock()

Returns the docblock.

public getDocblock() : Docblock
Return values
Docblock

setDocblock()

Sets the docblock.

public setDocblock(Docblock|string $doc) : $this
Parameters
$doc : Docblock|string
Return values
$this

Search results