PHP Class gossi\codegen\model\PhpMethod

Author: Johannes M. Schmitt ([email protected])
Inheritance: extends AbstractPhpMember, use trait gossi\codegen\model\parts\AbstractTrait, use trait gossi\codegen\model\parts\FinalTrait, use trait gossi\codegen\model\parts\ParametersTrait, use trait gossi\codegen\model\parts\BodyTrait, use trait gossi\codegen\model\parts\ReferenceReturnTrait
Mostra file Open project: gossi/php-code-generator Class Usage Examples

Public Methods

Method Description
__construct ( $name )
create ( string $name ) Creates a new PHP method.
generateDocblock ( ) Generates docblock based on provided information

Method Details

__construct() public method

public __construct ( $name )

create() public static method

Creates a new PHP method.
public static create ( string $name )
$name string the method name

generateDocblock() public method

Generates docblock based on provided information
public generateDocblock ( )