for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @filesource
* @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
* @license MIT
* @author Miroslav Fedeleš <[email protected]>
* @since 0.27
*/
namespace Core\Entity\Exception;
* Exception indicating not found entity
class NotFoundException extends \RuntimeException implements ExceptionInterface
{
* @var string
protected $id;
* @param string $id
public function __construct($id)
parent::__construct(sprintf('Entity with id "%s" not found', $id));
$this->id = $id;
}
* @return string
public function getId()
return $this->id;