PHP 클래스 gossi\codegen\model\PhpFunction

저자: Johannes M. Schmitt ([email protected])
저자: Thomas Gossmann
상속: extends AbstractModel, implements gossi\codegen\model\GenerateableInterface, implements gossi\codegen\model\NamespaceInterface, implements gossi\codegen\model\DocblockInterface, implements gossi\codegen\model\RoutineInterface, use trait gossi\codegen\model\parts\BodyPart, use trait gossi\codegen\model\parts\DocblockPart, use trait gossi\codegen\model\parts\LongDescriptionPart, use trait gossi\codegen\model\parts\ParametersPart, use trait gossi\codegen\model\parts\QualifiedNamePart, use trait gossi\codegen\model\parts\ReferenceReturnPart, use trait gossi\codegen\model\parts\TypeDocblockGeneratorPart, use trait gossi\codegen\model\parts\TypePart
파일 보기 프로젝트 열기: gossi/php-code-generator 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $name = null ) Creates a new PHP function
create ( string $name = null ) : static Creates a new PHP function
fromReflection ( ReflectionFunction $ref ) : PhpFunction Creates a PHP function from reflection
generateDocblock ( )

메소드 상세

__construct() 공개 메소드

Creates a new PHP function
public __construct ( string $name = null )
$name string qualified name

create() 공개 정적인 메소드

Creates a new PHP function
public static create ( string $name = null ) : static
$name string qualified name
리턴 static

fromReflection() 공개 정적인 메소드

Creates a PHP function from reflection
사용 중단: will be removed in version 0.5
public static fromReflection ( ReflectionFunction $ref ) : PhpFunction
$ref ReflectionFunction
리턴 PhpFunction

generateDocblock() 공개 메소드

public generateDocblock ( )