PHP Trait gossi\codegen\generator\builder\parts\StructBuilderPart

ファイルを表示 Open project: gossi/php-code-generator

Protected Methods

Method Description
buildConstants ( gossi\codegen\model\ConstantsInterface $model )
buildDocblock ( gossi\codegen\model\DocblockInterface $model ) : void
buildHeader ( AbstractPhpStruct $model )
buildMethods ( AbstractPhpStruct $model )
buildNamespace ( gossi\codegen\model\NamespaceInterface $model )
buildProperties ( gossi\codegen\model\PropertiesInterface $model )
buildRequiredFiles ( AbstractPhpStruct $model )
buildTraits ( gossi\codegen\model\TraitsInterface $model )
buildUseStatements ( AbstractPhpStruct $model )
ensureBlankLine ( ) : void
generate ( AbstractModel $model ) : void

Private Methods

Method Description
sortConstants ( gossi\codegen\model\ConstantsInterface $model )
sortMethods ( AbstractPhpStruct $model )
sortProperties ( gossi\codegen\model\PropertiesInterface $model )
sortUseStatements ( AbstractPhpStruct $model )

Method Details

buildConstants() protected method

protected buildConstants ( gossi\codegen\model\ConstantsInterface $model )
$model gossi\codegen\model\ConstantsInterface

buildDocblock() abstract protected method

abstract protected buildDocblock ( gossi\codegen\model\DocblockInterface $model ) : void
$model gossi\codegen\model\DocblockInterface
return void

buildHeader() protected method

protected buildHeader ( AbstractPhpStruct $model )
$model gossi\codegen\model\AbstractPhpStruct

buildMethods() protected method

protected buildMethods ( AbstractPhpStruct $model )
$model gossi\codegen\model\AbstractPhpStruct

buildNamespace() protected method

protected buildNamespace ( gossi\codegen\model\NamespaceInterface $model )
$model gossi\codegen\model\NamespaceInterface

buildProperties() protected method

protected buildProperties ( gossi\codegen\model\PropertiesInterface $model )
$model gossi\codegen\model\PropertiesInterface

buildRequiredFiles() protected method

protected buildRequiredFiles ( AbstractPhpStruct $model )
$model gossi\codegen\model\AbstractPhpStruct

buildTraits() protected method

protected buildTraits ( gossi\codegen\model\TraitsInterface $model )
$model gossi\codegen\model\TraitsInterface

buildUseStatements() protected method

protected buildUseStatements ( AbstractPhpStruct $model )
$model gossi\codegen\model\AbstractPhpStruct

ensureBlankLine() abstract protected method

abstract protected ensureBlankLine ( ) : void
return void

generate() abstract protected method

abstract protected generate ( AbstractModel $model ) : void
$model gossi\codegen\model\AbstractModel
return void