InterfaceBuilder extends AbstractBuilder Uses StructBuilderPart
Table of Contents
- $generator : ModelGenerator
- $config : GeneratorConfig
- $writer : Writer
- __construct() : mixed
- build() : void
- buildConstants() : void
- buildDocblock() : void
- buildHeader() : void
- buildMethods() : void
- buildNamespace() : void
- buildProperties() : void
- buildRequiredFiles() : void
- buildTraits() : void
- buildUseStatements() : void
- ensureBlankLine() : void
- generate() : void
- getConfig() : GeneratorConfig
- getWriter() : Writer
- buildSignature() : void
- sort() : void
- sortConstants() : void
- sortMethods() : void
- sortProperties() : void
- sortUseStatements() : void
Properties
$generator
protected
ModelGenerator
$generator
$config
private
GeneratorConfig
$config
$writer
private
Writer
$writer
Methods
__construct()
public
__construct(ModelGenerator $generator) : mixed
Parameters
- $generator : ModelGenerator
Return values
mixed —build()
public
build(AbstractModel $model) : void
Parameters
- $model : AbstractModel
Return values
void —buildConstants()
protected
buildConstants(ConstantsInterface $model) : void
Parameters
- $model : ConstantsInterface
Return values
void —buildDocblock()
protected
buildDocblock(DocblockInterface $model) : void
Parameters
- $model : DocblockInterface
Return values
void —buildHeader()
protected
buildHeader(AbstractPhpStruct $model) : void
Parameters
- $model : AbstractPhpStruct
Return values
void —buildMethods()
protected
buildMethods(AbstractPhpStruct $model) : void
Parameters
- $model : AbstractPhpStruct
Return values
void —buildNamespace()
protected
buildNamespace(NamespaceInterface $model) : void
Parameters
- $model : NamespaceInterface
Return values
void —buildProperties()
protected
buildProperties(PropertiesInterface $model) : void
Parameters
- $model : PropertiesInterface
Return values
void —buildRequiredFiles()
protected
buildRequiredFiles(AbstractPhpStruct $model) : void
Parameters
- $model : AbstractPhpStruct
Return values
void —buildTraits()
protected
buildTraits(TraitsInterface $model) : void
Parameters
- $model : TraitsInterface
Return values
void —buildUseStatements()
protected
buildUseStatements(AbstractPhpStruct $model) : void
Parameters
- $model : AbstractPhpStruct
Return values
void —ensureBlankLine()
protected
ensureBlankLine() : void
Return values
void —generate()
protected
generate(AbstractModel $model) : void
Parameters
- $model : AbstractModel
Return values
void —getConfig()
protected
getConfig() : GeneratorConfig
Return values
GeneratorConfig —getWriter()
protected
getWriter() : Writer
Return values
Writer —buildSignature()
private
buildSignature(PhpInterface $model) : void
Parameters
- $model : PhpInterface
Return values
void —sort()
private
sort(PhpInterface $model) : void
Parameters
- $model : PhpInterface
Return values
void —sortConstants()
private
sortConstants(ConstantsInterface $model) : void
Parameters
- $model : ConstantsInterface
Return values
void —sortMethods()
private
sortMethods(AbstractPhpStruct $model) : void
Parameters
- $model : AbstractPhpStruct
Return values
void —sortProperties()
private
sortProperties(PropertiesInterface $model) : void
Parameters
- $model : PropertiesInterface
Return values
void —sortUseStatements()
private
sortUseStatements(AbstractPhpStruct $model) : void
Parameters
- $model : AbstractPhpStruct