PHP 클래스 Pop\Code\Reflection

저자: Nick Sagona, III ([email protected])
상속: extends ReflectionClass
파일 보기 프로젝트 열기: nicksagona/PopPHP 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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