for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Exception;
use function sprintf;
final class MissingIdentifierField extends \LogicException implements ManagerException
{
public static function fromFieldAndClass($fieldName, $className) : self
return new self(sprintf(
'The identifier %s is missing for a query of %s',
$fieldName,
$className
));
}