W3cubDocs

/Symfony 4.1

StubCaster

class StubCaster

Casts a caster's Stub.

Methods

static castStub(Stub $c, array $a, Stub $stub, $isNested)
static castCutArray(CutArrayStub $c, array $a, Stub $stub, $isNested)
static cutInternals($obj, array $a, Stub $stub, $isNested)
static castEnum(EnumStub $c, array $a, Stub $stub, $isNested)

Details

static castStub(Stub $c, array $a, Stub $stub, $isNested)

Parameters

Stub $c
array $a
Stub $stub
$isNested

static castCutArray(CutArrayStub $c, array $a, Stub $stub, $isNested)

Parameters

CutArrayStub $c
array $a
Stub $stub
$isNested

static cutInternals($obj, array $a, Stub $stub, $isNested)

Parameters

$obj
array $a
Stub $stub
$isNested

static castEnum(EnumStub $c, array $a, Stub $stub, $isNested)

Parameters

EnumStub $c
array $a
Stub $stub
$isNested

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/VarDumper/Caster/StubCaster.html