php / 8.1.5 / class.reflector.html /

The Reflector interface

Introduction

(PHP 5, PHP 7, PHP 8)

Reflector is an interface implemented by all exportable Reflection classes.

Interface synopsis

interface Reflector extends Stringable {
/* Methods */
public static export(): string
public __toString(): string
/* Inherited methods */
public Stringable::__toString(): string
}

Changelog

Version Description
8.0.0 Reflector implements Stringable now.

Table of Contents

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.reflector.php