The ReflectionFunctionAbstract class

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

Einführung

A parent class to ReflectionFunction, read its description for details.

Klassenbeschreibung

abstract class ReflectionFunctionAbstract implements Reflector {
/* Eigenschaften */
public string $name;
/* Methoden */
private function __clone(): void
public function getAttributes(?string $name = null, int $flags = 0): array
public function getClosureThis(): ?object
public function getClosureUsedVariables(): array
public function getDocComment(): string|false
public function getEndLine(): int|false
public function getExtensionName(): string|false
public function getFileName(): string|false
public function getName(): string
public function getNamespaceName(): string
public function getNumberOfParameters(): int
public function getParameters(): array
public function getReturnType(): ?ReflectionType
public function getShortName(): string
public function getStartLine(): int|false
public function getStaticVariables(): array
public function hasReturnType(): bool
public function hasTentativeReturnType(): bool
public function inNamespace(): bool
public function isClosure(): bool
public function isDeprecated(): bool
public function isGenerator(): bool
public function isInternal(): bool
public function isStatic(): bool
public function isUserDefined(): bool
public function isVariadic(): bool
public function returnsReference(): bool
abstract public function __toString(): void
}

Eigenschaften

name

Name of the function. Read-only, throws ReflectionException in attempt to write.

Inhaltsverzeichnis

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top