PHP Class Pop\Code\Reflection

Author: Nick Sagona, III ([email protected])
Inheritance: extends ReflectionClass
Afficher le fichier Open project: nicksagona/PopPHP Class Usage Examples

Protected Properties

Свойство Type Description
$code string Code to reflect
$generator Generator Code generator object

Méthodes publiques

Méthode Description
__construct ( string $code ) : Reflection Constructor
code ( ) : string Get the code string
factory ( string $code ) : Reflection Static method to instantiate the code reflection object and return itself to facilitate chaining methods together.
generator ( ) : Generator Get the code generator

Méthodes protégées

Méthode 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

Method Details

__construct() public méthode

Instantiate the code reflection object
public __construct ( string $code ) : Reflection
$code string
Résultat Reflection

buildGenerator() protected méthode

Build the code generator based the reflection class
protected buildGenerator ( ) : void
Résultat void

code() public méthode

Get the code string
public code ( ) : string
Résultat string

factory() public static méthode

Static method to instantiate the code reflection object and return itself to facilitate chaining methods together.
public static factory ( string $code ) : Reflection
$code string
Résultat Reflection

generator() public méthode

Get the code generator
public generator ( ) : Generator
Résultat Generator

getClassMethods() protected méthode

Get methods
protected getClassMethods ( ) : void
Résultat void

getClassNamespace() protected méthode

Get the namespace and uses, if any
protected getClassNamespace ( ) : void
Résultat void

getClassProperties() protected méthode

Get properties
protected getClassProperties ( ) : void
Résultat void

Property Details

$code protected_oe property

Code to reflect
protected string $code
Résultat string

$generator protected_oe property

Code generator object
protected Generator,Pop\Code $generator
Résultat Generator