PHP Trait gossi\codegen\model\parts\TypeDocblockGeneratorPart

For all models that have a type and need docblock tag generated from it
Author: Thomas Gossmann
Afficher le fichier Open project: gossi/php-code-generator

Méthodes publiques

Méthode Description
getType ( ) : string Returns the type
getTypeDescription ( ) : string Returns the type description

Méthodes protégées

Méthode 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

Method Details

generateTypeTag() protected méthode

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() abstract protected méthode

Returns the docblock
abstract protected getDocblock ( ) : Docblock
Résultat Docblock

getType() abstract public méthode

Returns the type
abstract public getType ( ) : string
Résultat string

getTypeDescription() abstract public méthode

Returns the type description
abstract public getTypeDescription ( ) : string
Résultat string