The ReflectionExtension class

(PHP 5, PHP 7, PHP 8)

Introduction

The ReflectionExtension class reports information about an extension.

Class synopsis

class ReflectionExtension implements Reflector {
/* Properties */
public string $name;
/* Methods */
public __construct(string $name)
private __clone(): void
public static export(string $name, string $return = false): string
public getClasses(): array
public getName(): string
public info(): void
public isPersistent(): bool
public isTemporary(): bool
public __toString(): string
}

Properties

name

Name of the extension, same as calling the ReflectionExtension::getName() method.

Changelog

Version Description
8.0.0 ReflectionExtension::export() was removed.

Table of Contents