DoctrineCaster

class DoctrineCaster

Casts Doctrine related classes to array representation.

Methods

static castCommonProxy(Proxy $proxy, array $a, Stub $stub, $isNested)
static castOrmProxy(Proxy $proxy, array $a, Stub $stub, $isNested)
static castPersistentCollection(PersistentCollection $coll, array $a, Stub $stub, $isNested)

Details

static castCommonProxy(Proxy $proxy, array $a, Stub $stub, $isNested)

Parameters

Proxy $proxy
array $a
Stub $stub
$isNested

static castOrmProxy(Proxy $proxy, array $a, Stub $stub, $isNested)

Parameters

Proxy $proxy
array $a
Stub $stub
$isNested

static castPersistentCollection(PersistentCollection $coll, array $a, Stub $stub, $isNested)

Parameters

PersistentCollection $coll
array $a
Stub $stub
$isNested

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/VarDumper/Caster/DoctrineCaster.html