Zend Framework
3.0
|
Public Member Functions | |
__construct (ClassScanner $classScanner, DirectoryScanner $directoryScanner) | |
getName () | |
getShortName () | |
isInstantiable () | |
isFinal () | |
isAbstract () | |
isInterface () | |
getParentClasses () | |
hasParentClass () | |
getParentClass () | |
getInterfaces ($returnClassScanners=false) | |
getConstantNames () | |
Return a list of constant names. | |
getConstants ($namesOnly=true) | |
Return a list of constants. | |
getConstant ($constantNameOrInfoIndex) | |
Return a single constant by given name or index of info. | |
hasConstant ($name) | |
Verify if class or parent class has constant. | |
getPropertyNames () | |
Return a list of property names. | |
getProperties ($returnScannerProperty=false) | |
getProperty ($propertyNameOrInfoIndex) | |
Return a single property by given name or index of info. | |
hasProperty ($name) | |
Verify if class or parent class has property. | |
getMethodNames () | |
getMethods () | |
getMethod ($methodNameOrInfoIndex) | |
hasMethod ($name) | |
Verify if class or parent class has method by given name. | |
Public Member Functions inherited from ClassScanner | |
__construct (array $classTokens, NameInformation $nameInformation=null) | |
getAnnotations (Annotation\AnnotationManager $annotationManager) | |
Get annotations. | |
getDocComment () | |
Return documentation comment. | |
getDocBlock () | |
Return documentation block. | |
getName () | |
Return a name of class. | |
getShortName () | |
Return short name of class. | |
getLineStart () | |
Return number of first line. | |
getLineEnd () | |
Return number of last line. | |
isFinal () | |
Verify if class is final. | |
isTrait () | |
Verify if class is a trait. | |
isInstantiable () | |
Verify if class is instantiable. | |
isAbstract () | |
Verify if class is an abstract class. | |
isInterface () | |
Verify if class is an interface. | |
hasParentClass () | |
Verify if class has parent. | |
getParentClass () | |
Return a name of parent class. | |
getInterfaces () | |
Return a list of interface names. | |
getConstantNames () | |
Return a list of constant names. | |
getConstants ($namesOnly=true) | |
Return a list of constants. | |
getConstant ($constantNameOrInfoIndex) | |
Return a single constant by given name or index of info. | |
hasConstant ($name) | |
Verify if class has constant. | |
getPropertyNames () | |
Return a list of property names. | |
getProperties () | |
Return a list of properties. | |
getProperty ($propertyNameOrInfoIndex) | |
Return a single property by given name or index of info. | |
hasProperty ($name) | |
Verify if class has property. | |
getTraits () | |
Retrieve any traits used by the class. | |
getTraitNames () | |
Retrieve a list of trait names used by this class. | |
getTraitAliases () | |
Retrieve a list of aliased traits used by the class. | |
getMethodNames () | |
Return a list of method names. | |
getMethods () | |
Return a list of methods. | |
getMethod ($methodNameOrInfoIndex) | |
Return a single method by given name or index of info. | |
hasMethod ($name) | |
Verify if class has method by given name. | |
__toString () | |
Protected Attributes | |
$directoryScanner = null | |
$classScanner = null | |
$parentClassScanners = [] | |
$interfaceClassScanners = [] | |
Protected Attributes inherited from ClassScanner | |
$isScanned = false | |
$docComment = null | |
$name = null | |
$shortName = null | |
$lineStart = null | |
$lineEnd = null | |
$isTrait = false | |
$isFinal = false | |
$isAbstract = false | |
$isInterface = false | |
$parentClass = null | |
$shortParentClass = null | |
$interfaces = [] | |
$shortInterfaces = [] | |
$tokens = [] | |
$nameInformation = null | |
$infos = [] | |
$traits = [] | |
$methods = [] | |
Additional Inherited Members | |
Static Public Member Functions inherited from ClassScanner | |
static | export () |
Protected Member Functions inherited from ClassScanner | |
getVisibilityForAlias ($aliasName) | |
Retrieve visibility for a given alias. | |
getBlockedTraitMethods () | |
Return an array of key = trait to keep, value = trait::method to ignore. | |
scan () | |
Scan tokens. | |
__construct | ( | ClassScanner | $classScanner, |
DirectoryScanner | $directoryScanner | ||
) |
ClassScanner | $classScanner | |
DirectoryScanner | $directoryScanner |
getConstant | ( | $constantNameOrInfoIndex | ) |
Return a single constant by given name or index of info.
string | int | $constantNameOrInfoIndex |
Exception\InvalidArgumentException |
getConstantNames | ( | ) |
Return a list of constant names.
getConstants | ( | $namesOnly = true | ) |
Return a list of constants.
bool | $namesOnly | Set false to return instances of ConstantScanner |
getInterfaces | ( | $returnClassScanners = false | ) |
bool | $returnClassScanners |
getMethod | ( | $methodNameOrInfoIndex | ) |
int | string | $methodNameOrInfoIndex |
Exception\InvalidArgumentException |
getMethodNames | ( | ) |
getMethods | ( | ) |
getName | ( | ) |
getParentClass | ( | ) |
getParentClasses | ( | ) |
getProperties | ( | $returnScannerProperty = false | ) |
bool | $returnScannerProperty |
getProperty | ( | $propertyNameOrInfoIndex | ) |
Return a single property by given name or index of info.
string | int | $propertyNameOrInfoIndex |
Exception\InvalidArgumentException |
getPropertyNames | ( | ) |
Return a list of property names.
getShortName | ( | ) |
hasConstant | ( | $name | ) |
Verify if class or parent class has constant.
string | $name |
hasMethod | ( | $name | ) |
Verify if class or parent class has method by given name.
string | $name |
hasParentClass | ( | ) |
hasProperty | ( | $name | ) |
Verify if class or parent class has property.
string | $name |
isAbstract | ( | ) |
isFinal | ( | ) |
isInstantiable | ( | ) |
isInterface | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |