final | |
---|---|
extends |
ReflectionClass<object> |
Methods | ||
---|---|---|
public
|
__construct(ReflectionClass|ReflectionEnum $betterReflectionClass)
|
# |
public
|
__toString(): non-empty-string
|
# |
public
|
__get(string $name): mixed
|
# |
public
|
getName(): class-string
|
# |
public
|
isAnonymous(): bool
|
# |
public
|
isInternal(): bool
|
# |
public
|
isUserDefined(): bool
|
# |
public
|
isInstantiable(): bool
|
# |
public
|
isCloneable(): bool
|
# |
public
|
getFileName()
|
# |
public
|
getStartLine()
|
# |
public
|
getEndLine()
|
# |
public
|
getDocComment()
|
# |
public
|
getConstructor(): ReflectionMethod|null
|
# |
public
|
hasMethod($name): bool
|
# |
public
|
getMethod(string $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<non-empty-string, mixed>
|
# |
public
|
getConstant($name): mixed
|
# |
public
|
getReflectionConstant(string $name): ReflectionClassConstant|false
|
# |
public
|
getReflectionConstants(int-mask-of<ReflectionClassConstant::IS_*>|null $filter = null): list<ReflectionClassConstant>
|
# |
public
|
getInterfaceClassNames(): list<class-string>
|
# |
public
|
getInterfaces(): array<class-string, self>
|
# |
public
|
getInterfaceNames(): list<class-string>
|
# |
public
|
isInterface(): bool
|
# |
public
|
getTraitClassNames(): list<trait-string>
|
# |
public
|
getTraits(): array<trait-string, self>
|
# |
public
|
getTraitNames(): list<trait-string>
|
# |
public
|
getTraitAliases(): array<non-empty-string, non-empty-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(): object
|
# |
public
|
newInstanceArgs(?array $args = null): object
|
# |
public
|
getParentClassName(): class-string|null
|
# |
public
|
getParentClass(): self|false
|
# |
public
|
isSubclassOf($class): bool
|
# |
public
|
getStaticProperties(): array<string, mixed>
|
# |
public
|
getStaticPropertyValue($name, $default = null)
|
# |
public
|
setStaticPropertyValue($name, $value): void
|
# |
public
|
getDefaultProperties(): array<non-empty-string, mixed>
|
# |
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
|
getAttributes(class-string|null $name = null, int $flags = 0): list<ReflectionAttribute|FakeReflectionAttribute>
|
# |
public
|
isEnum(): bool
|
# |