for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Smart\EtlBundle\Exception\Extractor;
/**
* Exception thrown when the entity is not found by his identifier
*
* @author Mathieu Ducrot <[email protected]>
*/
class EntityIdentifiedNotFoundException extends ExtractException
{
* @param string $identifier
* @return EntityIdentifiedNotFoundException
public static function create($identifier)
return new self(
sprintf(
'Entity identifed by ' . $identifier . ' not found',
$identifier
)
);
}