PHP 트레잇 gossi\codegen\model\parts\TypeDocblockGeneratorPart

For all models that have a type and need docblock tag generated from it
저자: Thomas Gossmann
파일 보기 프로젝트 열기: gossi/php-code-generator

공개 메소드들

메소드 설명
getType ( ) : string Returns the type
getTypeDescription ( ) : string Returns the type description

보호된 메소드들

메소드 설명
generateTypeTag ( gossi\docblock\tags\AbstractTag $tag ) Generates a type tag (return or var) but checks if one exists and updates this one
getDocblock ( ) : Docblock Returns the docblock

메소드 상세

generateTypeTag() 보호된 메소드

Generates a type tag (return or var) but checks if one exists and updates this one
protected generateTypeTag ( gossi\docblock\tags\AbstractTag $tag )
$tag gossi\docblock\tags\AbstractTag

getDocblock() 추상적인 보호된 메소드

Returns the docblock
abstract protected getDocblock ( ) : Docblock
리턴 Docblock

getType() 추상적인 공개 메소드

Returns the type
abstract public getType ( ) : string
리턴 string

getTypeDescription() 추상적인 공개 메소드

Returns the type description
abstract public getTypeDescription ( ) : string
리턴 string