DumpableInterface

An interface to define if an object is dumpable.

since

1.0

package

Joomla Framework

Methods

dump

Dumps the data properties into an object, recursively if appropriate.

dump(int depth = 3, \SplObjectStorage dumped = null) : \stdClass
since

1.0

Arguments

depth

intThe maximum depth of recursion. For example, a depth of 0 will return a stdClass with all the properties in native form. A depth of 1 will recurse into the first level of properties only.

dumped

\SplObjectStorageAn array of already serialized objects that is used to avoid infinite loops.

Response

\stdClass