La classe ReflectionObject

(PHP 5, PHP 7, PHP 8)

Introduction

La classe ReflectionObject rapporte des informations sur un object.

Synopsis de la classe

class ReflectionObject extends ReflectionClass {
/* Constants héritées */
/* Propriétés héritées */
public string $name;
/* Méthodes */
public __construct(object $object)
/* Méthodes héritées */
public static ReflectionClass::export(mixed $argument, bool $return = false): string
public ReflectionClass::getAttributes(?string $name = null, int $flags = 0): array
}

Historique

Version Description
8.0.0 ReflectionObject::export() a été supprimée.

Sommaire