final | |
---|---|
extends |
ReflectionEnum |
Methods | ||
---|---|---|
public
|
__construct(ReflectionEnum $betterReflectionEnum)
|
# |
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(): non-empty-string|false
|
# |
public
|
getStartLine(): int|false
|
# |
public
|
getEndLine(): int|false
|
# |
public
|
getDocComment(): string|false
|
# |
public
|
getConstructor(): ReflectionMethod|null
|
# |
public
|
hasMethod(string $name): bool
|
# |
public
|
getMethod(string $name): ReflectionMethod
|
# |
public
|
getMethods(int-mask-of<ReflectionMethod::IS_*>|null $filter = null): list<ReflectionMethod>
|
# |
public
|
hasProperty(string $name): bool
|
# |
public
|
getProperty(string $name): ReflectionProperty
|
# |
public
|
getProperties(int-mask-of<ReflectionProperty::IS_*>|null $filter = null): list<ReflectionProperty>
|
# |
public
|
hasConstant(string $name): bool
|
# |
public
|
getConstants(int-mask-of<ReflectionClassConstant::IS_*>|null $filter = null): array<non-empty-string, mixed>
|
# |
public
|
getConstant(string $name): mixed
|
# |
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<non-empty-string, non-empty-string>
|
# |
public
|
isTrait(): bool
|
# |
public
|
isAbstract(): bool
|
# |
public
|
isFinal(): bool
|
# |
public
|
isReadOnly(): bool
|
# |
public
|
getModifiers(): int
|
# |
public
|
isInstance(object $object): bool
|
# |
public
|
newInstance(mixed ...$args): self
|
# |
public
|
newInstanceWithoutConstructor(): object
|
# |
public
|
newInstanceArgs(array|null $args = null): object
|
# |
public
|
getParentClass(): ReflectionClass|false
|
# |
public
|
isSubclassOf(ReflectionClass|string $class): bool
|
# |
public
|
getStaticProperties(): array<string, mixed>
|
# |
public
|
getStaticPropertyValue(string $name, mixed $default = null): mixed
|
# |
public
|
setStaticPropertyValue(string $name, mixed $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(): non-empty-string|false
|
# |
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
|
# |
public
|
hasCase(string $name): bool
|
# |
public
|
getCase(string $name): ReflectionEnumUnitCase|ReflectionEnumBackedCase
|
# |
public
|
getCases(): list<ReflectionEnumUnitCase|ReflectionEnumBackedCase>
|
# |
public
|
isBacked(): bool
|
# |
public
|
getBackingType(): ReflectionNamedType|null
|
# |