The ReflectionExtension class

(PHP 5, PHP 7, PHP 8)

Introduction

The ReflectionExtension class reports information about an extension.

Class synopsis

classReflectionExtensionimplementsReflector {
public__construct(string$name)
private__clone(): void
publicstaticexport(string$name, string$return = false): string
publicgetClasses(): array
publicgetName(): string
publicinfo(): void
publicisTemporary(): bool
}

Properties

name

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

Changelog

VersionDescription
8.0.0ReflectionExtension::export() was removed.

Table of Contents

To Top