|
| addPropertyFromGenerator (PropertyGenerator $property) |
| {}
|
|
| addMethodFromGenerator (MethodGenerator $method) |
| {}
|
|
| setExtendedClass ($extendedClass) |
| {}
|
|
| setAbstract ($isAbstract) |
| {}
|
|
| __construct ($name=null, $namespaceName=null, $flags=null, $extends=null, $interfaces=[], $properties=[], $methods=[], $docBlock=null) |
|
| setName ($name) |
|
| getName () |
|
| setNamespaceName ($namespaceName) |
|
| getNamespaceName () |
|
| setContainingFileGenerator (FileGenerator $fileGenerator) |
|
| getContainingFileGenerator () |
|
| setDocBlock (DocBlockGenerator $docBlock) |
|
| getDocBlock () |
|
| setFlags ($flags) |
|
| addFlag ($flag) |
|
| removeFlag ($flag) |
|
| setAbstract ($isAbstract) |
|
| isAbstract () |
|
| setFinal ($isFinal) |
|
| isFinal () |
|
| setExtendedClass ($extendedClass) |
|
| getExtendedClass () |
|
| setImplementedInterfaces (array $implementedInterfaces) |
|
| getImplementedInterfaces () |
|
| getConstant ($constantName) |
|
| getConstants () |
|
| hasConstant ($constantName) |
|
| addConstantFromGenerator (PropertyGenerator $constant) |
| Add constant from PropertyGenerator.
|
|
| addConstant ($name, $value) |
| Add Constant.
|
|
| addConstants (array $constants) |
|
| addProperties (array $properties) |
|
| addProperty ($name, $defaultValue=null, $flags=PropertyGenerator::FLAG_PUBLIC) |
| Add Property from scalars.
|
|
| addPropertyFromGenerator (PropertyGenerator $property) |
| Add property from PropertyGenerator.
|
|
| getProperties () |
|
| getProperty ($propertyName) |
|
| addUse ($use, $useAlias=null) |
| Add a class to "use" classes.
|
|
| getUses () |
| Returns the "use" classes.
|
|
| hasProperty ($propertyName) |
|
| addMethods (array $methods) |
|
| addMethod ($name, array $parameters=[], $flags=MethodGenerator::FLAG_PUBLIC, $body=null, $docBlock=null) |
| Add Method from scalars.
|
|
| addMethodFromGenerator (MethodGenerator $method) |
| Add Method from MethodGenerator.
|
|
| getMethods () |
|
| getMethod ($methodName) |
|
| removeMethod ($methodName) |
|
| hasMethod ($methodName) |
|
| addTrait ($trait) |
|
| addTraits (array $traits) |
|
| hasTrait ($traitName) |
|
| getTraits () |
|
| removeTrait ($traitName) |
|
| addTraitAlias ($method, $alias, $visibility=null) |
|
| getTraitAliases () |
|
| addTraitOverride ($method, $traitsToReplace) |
|
| removeTraitOverride ($method, $overridesToRemove=null) |
|
| getTraitOverrides () |
|
| isSourceDirty () |
|
| generate () |
|
| __construct ($options=[]) |
|
| setSourceDirty ($isSourceDirty=true) |
|
| isSourceDirty () |
|
| setIndentation ($indentation) |
|
| getIndentation () |
|
| setSourceContent ($sourceContent) |
|
| getSourceContent () |
|
| setOptions ($options) |
|