ReflectionExtension 类

(PHP 5, PHP 7, PHP 8)

简介

ReflectionExtension 报告有关扩展的信息。

类摘要

class ReflectionExtension implements Reflector {
/* 属性 */
public string $name;
/* 方法 */
public __construct(string $name)
private __clone(): void
public static export(string $name, string $return = false): string
public getClasses(): array
public getClassNames(): array
public getConstants(): array
public getDependencies(): array
public getFunctions(): array
public getINIEntries(): array
public getName(): string
public getVersion(): ?string
public info(): void
public isPersistent(): bool
public isTemporary(): bool
public __toString(): string
}

属性

name

扩展名,跟调用 ReflectionExtension::getName() 方法相同。

更新日志

版本 说明
8.0.0 移除 ReflectionExtension::export()

目录

add a note

User Contributed Notes

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