Mode
Rasuvaeff\Understudy\Runtime\Mode
Enum — Package: rasuvaeff/understudy — Source — Version: v0.4.1
Implements: UnitEnum
How an understudy answers a call no expectation matched.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
Loose | Runtime\Mode | Answer with a type-safe default. | |
Strict | Runtime\Mode | Fail immediately, naming the method. | |
Forwarding | Runtime\Mode | Delegate to a real instance, recording the call and its outcome. |
Cases
| Case | Backing value |
|---|---|
Loose | — |
Strict | — |
Forwarding | — |