Mapper
in package
FinalYes
Table of Contents
Methods
- 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
CodeUnitCollectionclassAndParentClassesAndTraits()
private
classAndParentClassesAndTraits(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollectionisUserDefinedClass()
private
isUserDefinedClass(string $className) : bool
Parameters
- $className : string
Tags
Return values
boolisUserDefinedFunction()
private
isUserDefinedFunction(string $functionName) : bool
Parameters
- $functionName : string
Tags
Return values
boolisUserDefinedInterface()
private
isUserDefinedInterface(string $interfaceName) : bool
Parameters
- $interfaceName : string
Tags
Return values
boolisUserDefinedMethod()
private
isUserDefinedMethod(string $className, string $methodName) : bool
Parameters
- $className : string
- $methodName : string
Tags
Return values
boolisUserDefinedTrait()
private
isUserDefinedTrait(string $traitName) : bool
Parameters
- $traitName : string
Tags
Return values
boolmethodsOfClass()
private
methodsOfClass(string $className, int $filter) : CodeUnitCollection
Parameters
- $className : string
- $filter : int
Tags
Return values
CodeUnitCollectionprivateMethodsOfClass()
private
privateMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollectionprotectedAndPrivateMethodsOfClass()
private
protectedAndPrivateMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollectionprotectedMethodsOfClass()
private
protectedMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollectionpublicAndPrivateMethodsOfClass()
private
publicAndPrivateMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollectionpublicAndProtectedMethodsOfClass()
private
publicAndProtectedMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollectionpublicMethodsOfClass()
private
publicMethodsOfClass(string $className) : CodeUnitCollection
Parameters
- $className : string
Tags
Return values
CodeUnitCollectionreflectorForClass()
private
reflectorForClass(string $className) : ReflectionClass
Parameters
- $className : string