PHP Class Nette\Reflection\ClassType

Author: David Grudl
Inheritance: extends ReflectionClass
Afficher le fichier Open project: nette/reflection Class Usage Examples

Méthodes publiques

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

Method Details

__toString() public méthode

public __toString ( )

from() public static méthode

public static from ( $class ) : self
Résultat self

getAnnotation() public méthode

Returns an annotation value.
public getAnnotation ( $name ) : Nette\Reflection\IAnnotation
Résultat Nette\Reflection\IAnnotation

getAnnotations() public méthode

Returns all annotations.
public getAnnotations ( ) : Nette\Reflection\IAnnotation[][]
Résultat Nette\Reflection\IAnnotation[][]

getConstructor() public méthode

public getConstructor ( ) : Method | null
Résultat Method | null

getDescription() public méthode

Returns value of annotation 'description'.
public getDescription ( ) : string
Résultat string

getExtension() public méthode

public getExtension ( ) : Extension | null
Résultat Extension | null

getInterfaces() public méthode

public getInterfaces ( ) : self[]
Résultat self[]

getMethod() public méthode

public getMethod ( $name ) : Method
Résultat Method

getMethods() public méthode

public getMethods ( $filter ) : Method[]
Résultat Method[]

getParentClass() public méthode

public getParentClass ( ) : self | null
Résultat self | null

getProperties() public méthode

public getProperties ( $filter ) : Property[]
Résultat Property[]

getProperty() public méthode

public getProperty ( $name ) : Property
Résultat Property

hasAnnotation() public méthode

Has class specified annotation?
public hasAnnotation ( $name ) : boolean
Résultat boolean

is() public méthode

public is ( $type ) : boolean
Résultat boolean