Properties

$code

$code

$tokens

$tokens

$hashedName

$hashedName

$useVariables

$useVariables

$isStaticClosure

$isStaticClosure

$isScopeRequired

$isScopeRequired

$isBindingRequired

$isBindingRequired

$isShortClosure

$isShortClosure

$files

$files

$classes

$classes

$functions

$functions

$constants

$constants

$structures

$structures

Methods

__construct()

__construct(\Closure  $closure, string|null  $code = null) : mixed

ReflectionClosure constructor.

Parameters

\Closure $closure
string|null $code

Throws

\ReflectionException

Returns

mixed —

isStatic()

isStatic() : bool

Returns

bool —

isShortClosure()

isShortClosure() : mixed

Returns

mixed —

getCode()

getCode() : string

Returns

string —

getUseVariables()

getUseVariables() : array

Returns

array —

isBindingRequired()

isBindingRequired() : mixed

return bool

Returns

mixed —

isScopeRequired()

isScopeRequired() : mixed

return bool

Returns

mixed —

getHashedFileName()

getHashedFileName() : string

Returns

string —

getFileTokens()

getFileTokens() : array

Returns

array —

getTokens()

getTokens() : array

Returns

array —

getClasses()

getClasses() : array

Returns

array —

getFunctions()

getFunctions() : array

Returns

array —

getConstants()

getConstants() : array

Returns

array —

getStructures()

getStructures() : array

Returns

array —

fetchItems()

fetchItems() : mixed

Returns

mixed —