for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Container package.
*
* Copyright (c) Miloš Đurić <[email protected]>
* For full copyright and license information, please refer to the LICENSE file,
* located at the package root folder.
*/
namespace Laganica\Di\Exception;
use Psr\Container\NotFoundExceptionInterface;
* Class DefinitionNotFoundException
* @package Laganica\Di\Exception
class DefinitionNotFoundException extends ContainerException implements NotFoundExceptionInterface
{
* @param string $id
* @return self
public static function create(string $id): self
return new self("Definition for entry or class $id is not found");
}