Skip to content

UnsupportedTarget

Rasuvaeff\Understudy\Exception\UnsupportedTarget

ClassPackage: rasuvaeff/understudySourceVersion: v0.4.1

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): self

notDoublable()

php
static notDoublable(non-empty-string $target, string $reason): self

signatureConflict()

php
static signatureConflict(
    non-empty-string $method,
    string $left,
    string $right,
): self