ContextOwnershipViolation
Rasuvaeff\Understudy\Exception\ContextOwnershipViolation
Class — Package: rasuvaeff/understudy — Source — Version: v0.4.1
Extends: LogicException
Implements: Throwable, Stringable, Exception\UnderstudyError
Configuration and verification belong to the context that created a double.
Normal calls may cross Fiber boundaries, but mutating another context would make lifecycle verification race with work owned elsewhere.
Methods
forDouble()
php
static forDouble(): self