Documentation

StubCaster
in package

Casts a caster's Stub.

Tags
author

Nicolas Grekas p@tchwork.com

final

Table of Contents

castCutArray()  : mixed
castEnum()  : mixed
castStub()  : mixed
cutInternals()  : mixed

Methods

castCutArray()

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

castEnum()

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

castStub()

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

cutInternals()

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

Search results