Documentation

ResourceCaster
in package

Casts common resource types to array representation.

Tags
author

Nicolas Grekas p@tchwork.com

final

Table of Contents

castCurl()  : array<string|int, mixed>
castDba()  : mixed
castGd()  : mixed
castMysqlLink()  : mixed
castOpensslX509()  : mixed
castProcess()  : mixed
castStream()  : mixed
castStreamContext()  : mixed

Methods

castCurl()

public static castCurl(CurlHandle|resource $h, array<string|int, mixed> $a, Stub $stub, bool $isNested) : array<string|int, mixed>
Parameters
$h : CurlHandle|resource
$a : array<string|int, mixed>
$stub : Stub
$isNested : bool
Return values
array<string|int, mixed>

castDba()

public static castDba(mixed $dba, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
$dba : mixed
$a : array<string|int, mixed>
$stub : Stub
$isNested : bool
Return values
mixed

castGd()

public static castGd(mixed $gd, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
$gd : mixed
$a : array<string|int, mixed>
$stub : Stub
$isNested : bool
Return values
mixed
public static castMysqlLink(mixed $h, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
$h : mixed
$a : array<string|int, mixed>
$stub : Stub
$isNested : bool
Return values
mixed

castOpensslX509()

public static castOpensslX509(mixed $h, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
$h : mixed
$a : array<string|int, mixed>
$stub : Stub
$isNested : bool
Return values
mixed

castProcess()

public static castProcess(mixed $process, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
$process : mixed
$a : array<string|int, mixed>
$stub : Stub
$isNested : bool
Return values
mixed

castStream()

public static castStream(mixed $stream, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
$stream : mixed
$a : array<string|int, mixed>
$stub : Stub
$isNested : bool
Return values
mixed

castStreamContext()

public static castStreamContext(mixed $stream, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
$stream : mixed
$a : array<string|int, mixed>
$stub : Stub
$isNested : bool
Return values
mixed

Search results