메소드 |
설명 |
|
__construct ( array $classTokens, Zend\Code\NameInformation $nameInformation = null ) : ClassScanner |
|
|
__toString ( ) |
|
|
export ( ) |
|
|
getAnnotations ( Zend\Code\Annotation\AnnotationManager $annotationManager ) : Zend\Code\Annotation\AnnotationCollection |
Get annotations |
|
getConstant ( string | integer $constantNameOrInfoIndex ) : boolean | Zend\Code\Scanner\ConstantScanner |
Return a single constant by given name or index of info |
|
getConstantNames ( ) : array |
Return a list of constant names |
|
getConstants ( boolean $namesOnly = true ) : array | Zend\Code\Scanner\ConstantScanner[] |
Return a list of constants |
|
getDocBlock ( ) : false | Zend\Code\Scanner\DocBlockScanner |
Return documentation block |
|
getDocComment ( ) : null | string |
Return documentation comment |
|
getInterfaces ( ) : array |
Return a list of interface names |
|
getLineEnd ( ) : integer | null |
Return number of last line |
|
getLineStart ( ) : integer | null |
Return number of first line |
|
getMethod ( string | integer $methodNameOrInfoIndex ) : Zend\Code\Scanner\MethodScanner |
Return a single method by given name or index of info |
|
getMethodNames ( ) : array |
Return a list of method names |
|
getMethods ( ) : Zend\Code\Scanner\MethodScanner[] |
Return a list of methods |
|
getName ( ) : null | string |
Return a name of class |
|
getParentClass ( ) : null | string |
Return a name of parent class |
|
getProperties ( ) : Zend\Code\Scanner\PropertyScanner[] |
Return a list of properties |
|
getProperty ( string | integer $propertyNameOrInfoIndex ) : boolean | Zend\Code\Scanner\PropertyScanner |
Return a single property by given name or index of info |
|
getPropertyNames ( ) : array |
Return a list of property names |
|
getShortName ( ) : null | string |
Return short name of class |
|
getTraitAliases ( ) : array |
Retrieve a list of aliased traits used by the class. |
|
getTraitNames ( ) : array |
Retrieve a list of trait names used by this class. |
|
getTraits ( ) : ClassScanner[] |
Retrieve any traits used by the class. |
|
hasConstant ( string $name ) : boolean |
Verify if class has constant |
|
hasMethod ( string $name ) : boolean |
Verify if class has method by given name |
|
hasParentClass ( ) : boolean |
Verify if class has parent |
|
hasProperty ( string $name ) : boolean |
Verify if class has property |
|
isAbstract ( ) : boolean |
Verify if class is an abstract class |
|
isFinal ( ) : boolean |
Verify if class is final |
|
isInstantiable ( ) : boolean |
Verify if class is instantiable |
|
isInterface ( ) : boolean |
Verify if class is an interface |
|
isTrait ( ) : boolean |
Verify if class is a trait |
|