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/InvalidEntityRepository.php

<?php

declare(strict_types=1);

namespace Doctrine\ORM\Exception;

use Doctrine\ORM\EntityRepository;

final class InvalidEntityRepository extends ORMException implements ConfigurationException
{
    public static function fromClassName(string $className): self
    {
        return new self(
            "Invalid repository class '" . $className . "'. It must be a " . EntityRepository::class . '.'
        );
    }
}