Caster::castObject()

static array castObject(object $obj, ReflectionClass $reflector)

Casts objects to arrays and adds the dynamic property prefix.

Parameters

object $obj The object to cast
ReflectionClass $reflector The class reflector to use for inspecting the object definition

Return Value

array The array-cast of the object, with prefixed dynamic properties
doc_Symfony
2016-10-28 06:08:21
Comments
Leave a Comment

Please login to continue.