Skip to content

ContextOwnershipViolation

Rasuvaeff\Understudy\Exception\ContextOwnershipViolation

ClassPackage: rasuvaeff/understudySourceVersion: 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