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 | |
static
castMysqlLink($h, array $a, Stub $stub, $isNested)
Parameters
| $h | |
array | $a | |
Stub | $stub | |
| $isNested | |