PHP Класс Nette\Reflection\ClassType

Автор: David Grudl
Наследование: extends ReflectionClass
Показать файл Открыть проект Примеры использования класса

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

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