Clase ReflectionObject

(PHP 5, PHP 7, PHP 8)

Introducción

La clase ReflectionObject reporta información sobre un object.

Sinopsis de la Clase

class ReflectionObject extends ReflectionClass implements Reflector {
/* Constantaes heredadas constants */
/* Propiedades */
public $name;
/* Métodos */
public __construct(object $argument)
public static export(string $argument, bool $return = ?): string
/* Métodos heredados */
public static ReflectionClass::export(mixed $argument, bool $return = false): string
public ReflectionClass::getAttributes(?string $name = null, int $flags = 0): array
public ReflectionClass::newLazyGhost(callable $initializer, int $options = 0): object
public ReflectionClass::newLazyProxy(callable $factory, int $options = 0): object
public ReflectionClass::resetAsLazyGhost(object $object, callable $initializer, int $options = 0): void
public ReflectionClass::resetAsLazyProxy(object $object, callable $factory, int $options = 0): void
}

Propiedades

name

Nombre de la clase del objeto. De sólo lectura, lanza una ReflectionException en el intento de escribir .

Tabla de contenidos