W3cubDocs

/Symfony 4.1

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.
https://api.symfony.com/4.1/Symfony/Component/VarDumper/Caster/DoctrineCaster.html