PHP 8.6.0 Beta 1 is available for testing

La clase ReflectionFunctionAbstract

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

Introducción

Una clase parente de ReflectionFunction , léase su descripción para más detalles.

Sinopsis de la clase

abstract class ReflectionFunctionAbstract implements Reflector {
/* Propiedades */
public string $name ;
/* Métodos */
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 getExtension (): ? ReflectionExtension
public function getExtensionName (): string |false
public function getFileName (): string |false
public function getName (): string
public function getNamespaceName (): string
public function getNumberOfParameters (): int
public function getNumberOfRequiredParameters (): 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
}

Propiedades

name

Nombre de la función. Solo lectura, genera ReflectionException al intentar escribir.

Tabla de contenidos

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /