<?php
namespace Doctrine\Common\Persistence;
use const E_USER_DEPRECATED;
use function class_alias;
use function interface_exists;
use function sprintf;
use function trigger_error;
if (! interface_exists(\Doctrine\Persistence\ObjectRepository::class, false)) {
@trigger_error(sprintf(
'The %s\ObjectRepository class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0.'
. ' Use \Doctrine\Persistence\ObjectRepository instead.',
__NAMESPACE__
), E_USER_DEPRECATED);
}
class_alias(
\Doctrine\Persistence\ObjectRepository::class,
__NAMESPACE__ . '\ObjectRepository'
);
if (false) {
/**
* @deprecated 1.3 Use Doctrine\Persistence\ObjectRepository
*/
interface ObjectRepository extends \Doctrine\Persistence\ObjectRepository
{
}
}