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
Afficher le fichier Open project: gossi/php-code-generator Class Usage Examples

Méthodes publiques

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

Method Details

__construct() public méthode

public __construct ( $name )

create() public static méthode

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

generateDocblock() public méthode

Generates docblock based on provided information
public generateDocblock ( )