Build a Code Generation Php Object from a Class Reflection
Parameters: | ClassReflection – |
---|---|
Return type: | ClassGenerator |
Generate from array
Parameters: | array – |
---|---|
Return type: | ClassGenerator |
@param string $name
Parameters: |
|
---|
@param string $namespaceName
Return type: | ClassGenerator |
---|
@param FileGenerator $fileGenerator
Return type: | ClassGenerator |
---|
@param DocBlockGenerator $docBlock
Return type: | ClassGenerator |
---|
@param string $extendedClass
Return type: | ClassGenerator |
---|
@param array $implementedInterfaces
Return type: | ClassGenerator |
---|
Add Property from scalars
Parameters: |
|
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | ClassGenerator |
Add property from PropertyGenerator
Parameters: | string|PropertyGenerator – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | ClassGenerator |
@param string $propertyName
Return type: | PropertyGenerator|false |
---|
Add Method from scalars
Parameters: |
|
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | ClassGenerator |
Add Method from MethodGenerator
Parameters: | MethodGenerator – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | ClassGenerator |
@return string