MediaWiki REL1_40
Wikimedia\DebugInfo\DumpUtils Class Reference

Static Public Member Functions

static objectToArray ( $object)
 Convert an object to an array by casting, but filter the properties to make recursive dumping more feasible.
 

Detailed Description

Since
1.40

Definition at line 8 of file DumpUtils.php.

Member Function Documentation

◆ objectToArray()

static Wikimedia\DebugInfo\DumpUtils::objectToArray ( $object)
static

Convert an object to an array by casting, but filter the properties to make recursive dumping more feasible.

phpcs:ignore MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam

Parameters
object$object
Returns
array
Exceptions

\ReflectionException

Definition at line 18 of file DumpUtils.php.

References Wikimedia\DebugInfo\AnnotationReader\propertyHasAnnotation().


The documentation for this class was generated from the following file: