class ClassCannotBeFoundException
@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\Runner\ClassCannotBeFoundException extends \RuntimeException implements \PHPUnit\Runner\Exception
Expanded class hierarchy of ClassCannotBeFoundException
File
-
vendor/
phpunit/ phpunit/ src/ Runner/ Exception/ ClassCannotBeFoundException.php, line 20
Namespace
PHPUnit\RunnerView source
final class ClassCannotBeFoundException extends RuntimeException implements Exception {
public function __construct(string $className, string $file) {
parent::__construct(sprintf('Class %s cannot be found in %s', $className, $file));
}
}