ReflectionFunctionAbstract クラス

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

はじめに

ReflectionFunction の親クラスです。 詳細はこのクラスの説明を参照ください。

クラス概要

abstract class ReflectionFunctionAbstract implements Reflector {
/* プロパティ */
public string $name;
/* メソッド */
private __clone(): void
public getAttributes(?string $name = null, int $flags = 0): array
public getClosureThis(): ?object
public getClosureUsedVariables(): array
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 hasTentativeReturnType(): bool
public inNamespace(): bool
public isClosure(): bool
public isDeprecated(): bool
public isGenerator(): bool
public isInternal(): bool
public isStatic(): bool
public isUserDefined(): bool
public isVariadic(): bool
public returnsReference(): bool
abstract public __toString(): void
}

プロパティ

name

関数名。読み込み専用で、書き込もうとすると ReflectionException をスローします。

目次