Метод |
Описание |
|
__construct ( ) |
Build the context |
|
addMethodToClass ( string $cls, string $method ) |
Add a method to its type with the current type
for its default declaring type (after resolveSymbol, it changes) |
|
findMethodInInheritanceTree ( string $cls, string $method ) : string |
Find if method is declared in superclass. |
|
getClassesUsingTraitForDeclaringMethod ( string $fqcn, string $methodName ) : array |
Returns a list of all classes using a trait for declaring a given method |
|
getDeclaringClass ( string $cls, string $meth ) : string |
Finds the FQCN of the first declaring class/interface of a method |
|
hasDeclaringClass ( string $cls ) : boolean |
Search if a type (trait, class or interface) exists in the inheritanceMap |
|
initClass ( $name ) |
|
|
initInterface ( $name ) |
|
|
initSymbol ( string $name, string $symbolType ) |
Initialize a new symbol |
|
initTrait ( $name ) |
|
|
isInterface ( string $cls ) : boolean |
Is FQCN an interface ? |
|
isTrait ( string $cls ) : boolean |
Is FQCN an interface ? |
|
pushParentClass ( string $cls, string $parent ) |
Stacks a parent type for a type |
|
pushUseTrait ( $cls, $useTrait ) |
|
|
resolveSymbol ( ) |
Resolve all methods inheritance, use by traits and declared |
|