BypassUnavailable
Rasuvaeff\Understudy\Exception\BypassUnavailable
Class — Package: rasuvaeff/understudy — Source — Version: v1.1.0-1-g6ed023f
Extends: LogicException
Implements: Throwable, Stringable, Exception\UnderstudyError
bypassFinals() cannot do what was asked of it.
Methods
alreadyLoaded()
php
static alreadyLoaded(class-string $class): selfBuilds the error for a class loaded before bypass could be installed.
notAClass()
php
static notAClass(class-string $class, string $kind): selfBuilds the error for a target that is not a class.
foreignWrapper()
php
static foreignWrapper(string $owner): selfBuilds the error for an already-installed user-space file wrapper.
Something else owns file://; replacing it would silently disable whatever it does, whether or not it transforms PHP source.