implements |
Reflection |
|---|---|
uses |
ReflectionFunctionAbstract |
| 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
|
# |
public
|
isDisabled(): bool
|
# |
public
|
isStatic(): bool
|
# |
public
|
getClosure(): Closure
|
# |
public
|
invoke(mixed ...$args): mixed
|
# |
public
|
invokeArgs(array<mixed> $args = []): mixed
|
# |
| Constants | |||
|---|---|---|---|
public
|
VARIADIC_FUNCTIONS = ['func_get_args', 'func_get_arg', 'func_num_args']
|
# | |
public
|
CLOSURE_NAME = '{closure}'
|
# | |
| Properties used from PHPStan\BetterReflection\Reflection\ReflectionFunctionAbstract |
|---|
$parameters, $returnType |