ForwardingTargetMismatch
Rasuvaeff\Understudy\Exception\ForwardingTargetMismatch
Class — Package: rasuvaeff/understudy — Source — Version: v0.4.1
Extends: InvalidArgumentException
Implements: Stringable, Throwable, Exception\UnderstudyError
The instance offered as a forwarding target does not satisfy what the double stands in for.
Methods
understudyTarget()
php
static understudyTarget(non-empty-string $label): selfmissingContract()
php
static missingContract(
non-empty-string $label,
class-string $contract,
string $given,
): self