Method |
Description |
|
getClass ( ) : string | null |
Gets the class which the function was declared within. |
|
getClosureNestingLevel ( ) : integer |
Gets the amount of closures function which the function was declared within. |
|
getFunction ( ) : string | null |
Gets the function which the function was declared within. |
|
getNamespace ( ) : string | null |
Gets the namespace which the function was declared within. |
|
getTrait ( ) : string | null |
Gets the trait which the function was declared within. |
|
isWithinClass ( ) : boolean |
Whether the function was declared within a class. |
|
isWithinFunction ( ) : boolean |
Whether the function was declared within a function. |
|
isWithinNamespace ( ) : boolean |
Whether the function was declared within a namespace. |
|
isWithinTrait ( ) : boolean |
Whether the function was declared within a trait. |
|