PHP Класс Pop\Code\Reflection

Автор: Nick Sagona, III ([email protected])
Наследование: extends ReflectionClass
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$code string Code to reflect
$generator Generator Code generator object

Открытые методы

Метод Описание
__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

Защищенные методы

Метод Описание
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

Описание методов

__construct() публичный Метод

Instantiate the code reflection object
public __construct ( string $code ) : Reflection
$code string
Результат Reflection

buildGenerator() защищенный Метод

Build the code generator based the reflection class
protected buildGenerator ( ) : void
Результат void

code() публичный Метод

Get the code string
public code ( ) : string
Результат string

factory() публичный статический Метод

Static method to instantiate the code reflection object and return itself to facilitate chaining methods together.
public static factory ( string $code ) : Reflection
$code string
Результат Reflection

generator() публичный Метод

Get the code generator
public generator ( ) : Generator
Результат Generator

getClassMethods() защищенный Метод

Get methods
protected getClassMethods ( ) : void
Результат void

getClassNamespace() защищенный Метод

Get the namespace and uses, if any
protected getClassNamespace ( ) : void
Результат void

getClassProperties() защищенный Метод

Get properties
protected getClassProperties ( ) : void
Результат void

Описание свойств

$code защищенное свойство

Code to reflect
protected string $code
Результат string

$generator защищенное свойство

Code generator object
protected Generator,Pop\Code $generator
Результат Generator