PHP 클래스 Nette\Reflection\ClassType

저자: David Grudl
상속: extends ReflectionClass
파일 보기 프로젝트 열기: nette/reflection 1 사용 예제들

공개 메소드들

메소드 설명
__toString ( )
from ( $class ) : self
getAnnotation ( $name ) : Nette\Reflection\IAnnotation Returns an annotation value.
getAnnotations ( ) : Nette\Reflection\IAnnotation[][] Returns all annotations.
getConstructor ( ) : Method | null
getDescription ( ) : string Returns value of annotation 'description'.
getExtension ( ) : Extension | null
getInterfaces ( ) : self[]
getMethod ( $name ) : Method
getMethods ( $filter ) : Method[]
getParentClass ( ) : self | null
getProperties ( $filter ) : Property[]
getProperty ( $name ) : Property
hasAnnotation ( $name ) : boolean Has class specified annotation?
is ( $type ) : boolean

메소드 상세

__toString() 공개 메소드

public __toString ( )

from() 공개 정적인 메소드

public static from ( $class ) : self
리턴 self

getAnnotation() 공개 메소드

Returns an annotation value.
public getAnnotation ( $name ) : Nette\Reflection\IAnnotation
리턴 Nette\Reflection\IAnnotation

getAnnotations() 공개 메소드

Returns all annotations.
public getAnnotations ( ) : Nette\Reflection\IAnnotation[][]
리턴 Nette\Reflection\IAnnotation[][]

getConstructor() 공개 메소드

public getConstructor ( ) : Method | null
리턴 Method | null

getDescription() 공개 메소드

Returns value of annotation 'description'.
public getDescription ( ) : string
리턴 string

getExtension() 공개 메소드

public getExtension ( ) : Extension | null
리턴 Extension | null

getInterfaces() 공개 메소드

public getInterfaces ( ) : self[]
리턴 self[]

getMethod() 공개 메소드

public getMethod ( $name ) : Method
리턴 Method

getMethods() 공개 메소드

public getMethods ( $filter ) : Method[]
리턴 Method[]

getParentClass() 공개 메소드

public getParentClass ( ) : self | null
리턴 self | null

getProperties() 공개 메소드

public getProperties ( $filter ) : Property[]
리턴 Property[]

getProperty() 공개 메소드

public getProperty ( $name ) : Property
리턴 Property

hasAnnotation() 공개 메소드

Has class specified annotation?
public hasAnnotation ( $name ) : boolean
리턴 boolean

is() 공개 메소드

public is ( $type ) : boolean
리턴 boolean