PHP Interface gossi\codegen\model\DocblockInterface

Implementation is realized in the DocblockPart
Author: Thomas Gossmann
Mostrar archivo Open project: gossi/php-code-generator Interface Usage Examples

Public Methods

Method Description
generateDocblock ( ) Generates a docblock from provided information
getDocblock ( ) : gossi\docblock\Docblock Returns a docblock
setDocblock ( gossi\docblock\Docblock | string $doc ) Sets a docblock

Method Details

generateDocblock() public method

Generates a docblock from provided information
public generateDocblock ( )

getDocblock() public method

Returns a docblock
public getDocblock ( ) : gossi\docblock\Docblock
return gossi\docblock\Docblock

setDocblock() public method

Sets a docblock
public setDocblock ( gossi\docblock\Docblock | string $doc )
$doc gossi\docblock\Docblock | string