Your IP : 216.73.217.79


Current Path : /var/www/v3.cesa.co.za/vendor/doctrine/orm/src/Exception/
Upload File :
Current File : /var/www/v3.cesa.co.za/vendor/doctrine/orm/src/Exception/MissingIdentifierField.php

<?php

declare(strict_types=1);

namespace Doctrine\ORM\Exception;

use function sprintf;

final class MissingIdentifierField extends ORMException implements ManagerException
{
    public static function fromFieldAndClass(string $fieldName, string $className): self
    {
        return new self(sprintf(
            'The identifier %s is missing for a query of %s',
            $fieldName,
            $className
        ));
    }
}