PHP Class Nette\Reflection\Property

Author: David Grudl
Inheritance: extends ReflectionProperty
Exibir arquivo Open project: nette/reflection Class Usage Examples

Public Methods

Method Description
__toString ( )
getAnnotation ( $name ) : Nette\Reflection\IAnnotation Returns an annotation value.
getAnnotations ( ) : Nette\Reflection\IAnnotation[][] Returns all annotations.
getDeclaringClass ( ) : ClassType
getDescription ( ) : string Returns value of annotation 'description'.
hasAnnotation ( $name ) : boolean Has property specified annotation?

Method Details

__toString() public method

public __toString ( )

getAnnotation() public method

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

getAnnotations() public method

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

getDeclaringClass() public method

public getDeclaringClass ( ) : ClassType
return ClassType

getDescription() public method

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

hasAnnotation() public method

Has property specified annotation?
public hasAnnotation ( $name ) : boolean
return boolean