for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Test\Support\Container\Exception;
use Exception;
use Psr\Container\NotFoundExceptionInterface;
final class NotFoundException extends Exception implements NotFoundExceptionInterface
{
public function __construct(private string $id)
parent::__construct("No definition or class found for \"$id\".");
}
public function getId(): string
return $this->id;