PHP 7.4.24 Released!

La classe ReflectionFunctionAbstract

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

Introduction

Une classe parente à ReflectionFunction, lisez sa description pour plus de détails.

Synopsis de la classe

class ReflectionFunctionAbstract implements Reflector {
/* Propriétés */
public $name;
/* Méthodes */
final private __clone(): void
public getAttributes(string $name = null, int $flags = 0): array
public getClosureThis(): ?object
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
}

Propriétés

name

Nom de la fonction. En lecture seule, émets ReflectionException lors d'une tentative d'écriture.

Sommaire

add a note add a note

User Contributed Notes

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