class UnknownClassOrInterfaceException
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
Hierarchy
- class \PHPUnit\Framework\Exception extends \RuntimeException implements \PHPUnit\Exception
- class \PHPUnit\Framework\InvalidArgumentException extends \PHPUnit\Framework\Exception
- class \PHPUnit\Framework\UnknownClassOrInterfaceException extends \PHPUnit\Framework\InvalidArgumentException
- class \PHPUnit\Framework\InvalidArgumentException extends \PHPUnit\Framework\Exception
Expanded class hierarchy of UnknownClassOrInterfaceException
1 file declares its use of UnknownClassOrInterfaceException
- IsInstanceOf.php in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Type/ IsInstanceOf.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ Exception/ UnknownClassOrInterfaceException.php, line 19
Namespace
PHPUnit\FrameworkView source
final class UnknownClassOrInterfaceException extends InvalidArgumentException {
public function __construct(string $name) {
parent::__construct(sprintf('Class or interface "%s" does not exist', $name));
}
}