DocblockInterface
Docblock interface to represent models that have a docblock.
Implementation is realized in the DocblockPart
Tags
Table of Contents
- generateDocblock() : $this
- Generates a docblock from provided information.
- getDocblock() : Docblock
- Returns a docblock.
- setDocblock() : $this
- Sets a docblock.
Methods
generateDocblock()
Generates a docblock from provided information.
public
generateDocblock() : $this
Return values
$this —getDocblock()
Returns a docblock.
public
getDocblock() : Docblock
Return values
Docblock —setDocblock()
Sets a docblock.
public
setDocblock(Docblock|string $doc) : $this
Parameters
- $doc : Docblock|string