Mapper
in package
Table of Contents
- codeUnitsToSourceLines() : array<string|int, mixed>
- stringToCodeUnits() : CodeUnitCollection
- classAndParentClassesAndTraits() : CodeUnitCollection
- isUserDefinedClass() : bool
- isUserDefinedFunction() : bool
- isUserDefinedInterface() : bool
- isUserDefinedMethod() : bool
- isUserDefinedTrait() : bool
- methodsOfClass() : CodeUnitCollection
- privateMethodsOfClass() : CodeUnitCollection
- protectedAndPrivateMethodsOfClass() : CodeUnitCollection
- protectedMethodsOfClass() : CodeUnitCollection
- publicAndPrivateMethodsOfClass() : CodeUnitCollection
- publicAndProtectedMethodsOfClass() : CodeUnitCollection
- publicMethodsOfClass() : CodeUnitCollection
- reflectorForClass() : ReflectionClass
Methods
codeUnitsToSourceLines()
public
codeUnitsToSourceLines(CodeUnitCollection $codeUnits) : array<string|int, mixed>
Parameters
- $codeUnits : CodeUnitCollection
Tags
Return values
array<string|int, mixed> —stringToCodeUnits()
public
stringToCodeUnits(string $unit) : CodeUnitCollection
Parameters
- $unit : string
Tags
Return values
CodeUnitCollection —classAndParentClassesAndTraits()
private
classAndParentClassesAndTraits(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollection —isUserDefinedClass()
private
isUserDefinedClass(string $className) : bool
Parameters
- $className : string
Tags
Return values
bool —isUserDefinedFunction()
private
isUserDefinedFunction(string $functionName) : bool
Parameters
- $functionName : string
Tags
Return values
bool —isUserDefinedInterface()
private
isUserDefinedInterface(string $interfaceName) : bool
Parameters
- $interfaceName : string
Tags
Return values
bool —isUserDefinedMethod()
private
isUserDefinedMethod(string $className, string $methodName) : bool
Parameters
- $className : string
- $methodName : string
Tags
Return values
bool —isUserDefinedTrait()
private
isUserDefinedTrait(string $traitName) : bool
Parameters
- $traitName : string
Tags
Return values
bool —methodsOfClass()
private
methodsOfClass(string $className, int $filter) : CodeUnitCollection
Parameters
- $className : string
- $filter : int
Tags
Return values
CodeUnitCollection —privateMethodsOfClass()
private
privateMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollection —protectedAndPrivateMethodsOfClass()
private
protectedAndPrivateMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollection —protectedMethodsOfClass()
private
protectedMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollection —publicAndPrivateMethodsOfClass()
private
publicAndPrivateMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollection —publicAndProtectedMethodsOfClass()
private
publicAndProtectedMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollection —publicMethodsOfClass()
private
publicMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollection —reflectorForClass()
private
reflectorForClass(string $className) : ReflectionClass
Parameters
- $className : string