StubCaster
in package
Casts a caster's Stub.
Tags
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
Return values
mixed —castStub()
public
static castStub(Stub $c, array<string|int, mixed> $a, Stub $stub, bool $isNested) : mixed
Parameters
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