Класс ReflectionFunctionAbstract

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

Введение

Является родительским классом для ReflectionFunction, более подробную информацию смотрите в описании этого дочернего класса.

Обзор классов

ReflectionFunctionAbstract implements Reflector {
/* Свойства */
public $name;
/* Методы */
final private __clone(): void
public getAttributes(string $name = null, int $flags = 0): array
public getClosureThis(): object|null
public getDocComment(): string|false
public getEndLine(): int|false
public getExtensionName(): string|false
public getFileName(): string|false
public getName(): string
public getNamespaceName(): string
public getNumberOfParameters(): int
public getParameters(): array
public getShortName(): string
public getStartLine(): int|false
public getStaticVariables(): array
public hasReturnType(): bool
public inNamespace(): bool
public isClosure(): bool
public isDeprecated(): bool
public isGenerator(): bool
public isInternal(): bool
public isUserDefined(): bool
public isVariadic(): bool
public returnsReference(): bool
abstract public __toString(): void
}

Свойства

name

Имя функции. Доступно только для чтения и выбрасывает исключение ReflectionException при попытке записи.

Содержание

add a note add a note

User Contributed Notes

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