Mapper
in package
FinalYes
Table of Contents
Methods
- codeUnitsToSourceLines() : array<string|int, mixed>
- stringToCodeUnits() : CodeUnitCollection
- isUserDefinedClass() : bool
- isUserDefinedFunction() : bool
- isUserDefinedInterface() : bool
- isUserDefinedMethod() : bool
- isUserDefinedTrait() : bool
- 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
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
boolreflectorForClass()
private
reflectorForClass(string $className) : ReflectionClass
Parameters
- $className : string