To simply enlist all methods and properties of an object simply write:
<?php ReflectionObject::export($yourObject); ?>
,which will cause an var_export-like output.
(PHP 5, PHP 7, PHP 8)
La clase ReflectionObject reporta información sobre un object.
Nombre de la clase del objeto. De sólo lectura, lanza una ReflectionException en el intento de escribir .
To simply enlist all methods and properties of an object simply write:
<?php ReflectionObject::export($yourObject); ?>
,which will cause an var_export-like output.