final | |
---|---|
extends |
ReflectionObject |
Methods | ||
---|---|---|
public
|
__construct(ReflectionObject $betterReflectionObject)
|
# |
public
|
__toString(): string
|
# |
public
|
getName(): string
|
# |
public
|
isInternal(): bool
|
# |
public
|
isUserDefined(): bool
|
# |
public
|
isInstantiable(): bool
|
# |
public
|
isCloneable(): bool
|
# |
public
|
getFileName()
|
# |
public
|
getStartLine()
|
# |
public
|
getEndLine()
|
# |
public
|
getDocComment()
|
# |
public
|
getConstructor(): ?ReflectionMethod
|
# |
public
|
hasMethod($name): bool
|
# |
public
|
getMethod($name): ReflectionMethod
|
# |
public
|
getMethods(int-mask-of<ReflectionMethod::IS_*>|null $filter = null): ReflectionMethod[]
|
# |
public
|
hasProperty($name): bool
|
# |
public
|
getProperty(string $name): ReflectionProperty
|
# |
public
|
getProperties(int-mask-of<ReflectionProperty::IS_*>|null $filter = null): ReflectionProperty[]
|
# |
public
|
hasConstant($name): bool
|
# |
public
|
getConstants(int-mask-of<ReflectionClassConstant::IS_*>|null $filter = null): array<string, mixed>
|
# |
public
|
getConstant($name)
|
# |
public
|
getReflectionConstant(string $name): ReflectionClassConstant|false
|
# |
public
|
getReflectionConstants(int-mask-of<ReflectionClassConstant::IS_*>|null $filter = null): list<ReflectionClassConstant>
|
# |
public
|
getInterfaces(): array<class-string, ReflectionClass>
|
# |
public
|
getInterfaceNames(): list<class-string>
|
# |
public
|
isInterface(): bool
|
# |
public
|
getTraits(): array<trait-string, ReflectionClass>
|
# |
public
|
getTraitNames(): list<trait-string>
|
# |
public
|
getTraitAliases(): array<string, string>
|
# |
public
|
isTrait(): bool
|
# |
public
|
isAbstract(): bool
|
# |
public
|
isFinal(): bool
|
# |
public
|
isReadOnly(): bool
|
# |
public
|
getModifiers(): int
|
# |
public
|
isInstance($object): bool
|
# |
public
|
newInstance(mixed $arg = null, mixed ...$args): object
|
# |
public
|
newInstanceWithoutConstructor()
|
# |
public
|
newInstanceArgs(?array $args = null)
|
# |
public
|
getParentClass(): ReflectionClass|false
|
# |
public
|
isSubclassOf($class): bool
|
# |
public
|
getStaticProperties(): array<string, mixed>
|
# |
public
|
getStaticPropertyValue($name, $default = null)
|
# |
public
|
setStaticPropertyValue($name, $value): void
|
# |
public
|
getDefaultProperties(): array<string, scalar|array<scalar>|null>
|
# |
public
|
isIterateable(): bool
|
# |
public
|
isIterable(): bool
|
# |
public
|
implementsInterface(ReflectionClass|string $interface): bool
|
# |
public
|
getExtension(): ?ReflectionExtension
|
# |
public
|
getExtensionName()
|
# |
public
|
inNamespace(): bool
|
# |
public
|
getNamespaceName(): string
|
# |
public
|
getShortName(): string
|
# |
public
|
isAnonymous(): bool
|
# |
public
|
getAttributes(class-string|null $name = null, int $flags = 0): list<ReflectionAttribute|FakeReflectionAttribute>
|
# |
public
|
isEnum(): bool
|
# |
public
|
__get(string $name): mixed
|
# |