UnsupportedTarget
Rasuvaeff\Understudy\Exception\UnsupportedTarget
Class — Package: rasuvaeff/understudy — Source — Version: v1.1.0-1-g6ed023f
Extends: LogicException
Implements: Throwable, Stringable, Exception\UnderstudyError
The requested target cannot be doubled, and no option would make it work without the user changing something. The message names that something.
Methods
missing()
php
static missing(string $target): selfNo class or interface of that name is loadable — usually a typo, or a class the autoloader cannot see from the test.
notDoublable()
php
static notDoublable(non-empty-string $target, string $reason): selfBuilds the error for a target that cannot be doubled.
signatureConflict()
php
static signatureConflict(
non-empty-string $method,
string $left,
string $right,
): selfBuilds the error for incompatible target signatures.