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 getEndLine(): int|false
public getName(): string
public inNamespace(): bool
public isClosure(): bool
public isDeprecated(): bool
public isGenerator(): bool
public isInternal(): bool
public isStatic(): bool
public isVariadic(): bool
abstract public __toString(): void
}

属性

name

函数名。只读,尝试赋值的时候将会抛出 ReflectionException

目录

add a note

User Contributed Notes

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