| Methods |
public
|
exportToCache(): array<string, mixed>
|
#
|
public
static
|
importFromCache(Reflector $reflector, array<string, mixed> $data): self
|
#
|
public
static
|
createFromClosure(Closure $closure): self
|
#
|
public
|
__toString(): non-empty-string
|
#
|
public
|
getShortName(): non-empty-string
Get the "short" name of the function (e.g. for A\B\foo, this will return
"foo").
Get the "short" name of the function (e.g. for A\B\foo, this will return
"foo").
|
#
|
public
|
isDisabled(): bool
Check to see if this function has been disabled (by the PHP INI file
directive disable_functions). Note - we cannot reflect on internal functions (as there is no PHP source
code we can access. This means, at present, we can only EVER return false
from this function, because you cannot disable user-defined functions.
Check to see if this function has been disabled (by the PHP INI file
directive disable_functions). Note - we cannot reflect on internal functions (as there is no PHP source
code we can access. This means, at present, we can only EVER return false
from this function, because you cannot disable user-defined functions.
|
#
|
public
|
isStatic(): bool
|
#
|
public
|
getClosure(): Closure
|
#
|
public
|
invoke(mixed ...$args): mixed
|
#
|
public
|
invokeArgs(array<mixed> $args = []): mixed
|
#
|