Introduction
PHP Manual
PHP Manual»Reflection»Reflector

The Reflector interface

(PHP 5, PHP 7, PHP 8)

Reflector is an interface implemented by all exportable Reflection classes.

interface Reflector extends Stringable {
/* Inherited methods */
public function Stringable::__toString(): string
}
Version Description
8.0.0 Reflector::export() was removed.
8.0.0 Reflector extends Stringable now. It inherits Stringable::__toString(), replacing Reflector::__toString().

Table of Contents

To Top