Property | Type | Description | |
---|---|---|---|
$code | string | Code to reflect | |
$generator | Code generator object |
Method | Description | |
---|---|---|
__construct ( string $code ) : |
Constructor | |
code ( ) : string | Get the code string | |
factory ( string $code ) : |
Static method to instantiate the code reflection object and return itself to facilitate chaining methods together. | |
generator ( ) : |
Get the code generator |
Method | Description | |
---|---|---|
buildGenerator ( ) : void | Build the code generator based the reflection class | |
getClassMethods ( ) : void | Get methods | |
getClassNamespace ( ) : void | Get the namespace and uses, if any | |
getClassProperties ( ) : void | Get properties |
public __construct ( string $code ) : |
||
$code | string | |
return |
protected buildGenerator ( ) : void | ||
return | void |
protected getClassNamespace ( ) : void | ||
return | void |
protected getClassProperties ( ) : void | ||
return | void |