implements |
Reflector |
---|
Methods | ||
---|---|---|
public
|
__construct(string|array|object $function, int|string $param)
|
# |
public
|
__toString(): string
|
# |
public
|
getName(): string
|
# |
public
|
isPassedByReference(): bool
|
# |
public
|
canBePassedByValue(): bool
|
# |
public
|
getDeclaringFunction(): ReflectionFunctionAbstract
|
# |
public
|
getDeclaringClass(): ReflectionClass|null
|
# |
public
|
getClass(): ReflectionClass|null
|
# |
public
|
hasType(): bool
|
# |
public
|
getType(): ReflectionType|null
|
# |
public
|
isArray(): bool
|
# |
public
|
isCallable(): bool
|
# |
public
|
allowsNull(): bool
|
# |
public
|
getPosition(): int
|
# |
public
|
isOptional(): bool
|
# |
public
|
isDefaultValueAvailable(): bool
|
# |
public
|
getDefaultValue(): mixed
|
# |
public
|
isDefaultValueConstant(): bool
|
# |
public
|
getDefaultValueConstantName(): string|null
|
# |
public
|
isVariadic(): bool
|
# |
public
|
isPromoted(): bool
|
# |
public
|
getAttributes(?string $name = null, int $flags = 0): ReflectionAttribute[]
|
# |