To simply enlist all methods and properties of an object simply write:
<?php ReflectionObject::export($yourObject); ?>
,which will cause an var_export-like output.
The ReflectionObject class
(PHP 5)
Introduction
The ReflectionObject class reports information about an object.
Class synopsis
Properties
- name
-
Name of the object's class. Read-only, throws ReflectionException in attempt to write.
Table of Contents
- ReflectionObject::__construct — Constructs a ReflectionObject
- ReflectionObject::export — Export
marcel dot nolte at noltecomputer dot de ¶
3 years ago
