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