Documentation

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
psalm-return

array<string,list>

Return values
array<string|int, mixed>

isUserDefinedClass()

private isUserDefinedClass(string $className) : bool
Parameters
$className : string
Tags
throws
ReflectionException
Return values
bool

isUserDefinedFunction()

private isUserDefinedFunction(string $functionName) : bool
Parameters
$functionName : string
Tags
throws
ReflectionException
Return values
bool

isUserDefinedInterface()

private isUserDefinedInterface(string $interfaceName) : bool
Parameters
$interfaceName : string
Tags
throws
ReflectionException
Return values
bool

isUserDefinedMethod()

private isUserDefinedMethod(string $className, string $methodName) : bool
Parameters
$className : string
$methodName : string
Tags
throws
ReflectionException
Return values
bool

isUserDefinedTrait()

private isUserDefinedTrait(string $traitName) : bool
Parameters
$traitName : string
Tags
throws
ReflectionException
Return values
bool

reflectorForClass()

private reflectorForClass(string $className) : ReflectionClass
Parameters
$className : string
Tags
psalm-param

class-string $className

throws
ReflectionException
Return values
ReflectionClass

        
On this page

Search results