The Reflector interface

(PHP 5, PHP 7, PHP 8)

Introduction

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