W3cubDocs

/Symfony 4.1

ResourceCaster

class ResourceCaster

Casts common resource types to array representation.

Methods

static castCurl($h, array $a, Stub $stub, $isNested)
static castDba($dba, array $a, Stub $stub, $isNested)
static castProcess($process, array $a, Stub $stub, $isNested)
static castStream($stream, array $a, Stub $stub, $isNested)
static castStreamContext($stream, array $a, Stub $stub, $isNested)
static castGd($gd, array $a, Stub $stub, $isNested)
static castMysqlLink($h, array $a, Stub $stub, $isNested)

Details

static castCurl($h, array $a, Stub $stub, $isNested)

Parameters

$h
array $a
Stub $stub
$isNested

static castDba($dba, array $a, Stub $stub, $isNested)

Parameters

$dba
array $a
Stub $stub
$isNested

static castProcess($process, array $a, Stub $stub, $isNested)

Parameters

$process
array $a
Stub $stub
$isNested

static castStream($stream, array $a, Stub $stub, $isNested)

Parameters

$stream
array $a
Stub $stub
$isNested

static castStreamContext($stream, array $a, Stub $stub, $isNested)

Parameters

$stream
array $a
Stub $stub
$isNested

static castGd($gd, array $a, Stub $stub, $isNested)

Parameters

$gd
array $a
Stub $stub
$isNested

Parameters

$h
array $a
Stub $stub
$isNested

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