vendor/sonata-project/core-bundle/src/CoreBundle/Model/BaseEntityManager.php line 20

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  * This file is part of the Sonata Project package.
  5.  *
  6.  * (c) Thomas Rabaix <[email protected]>
  7.  *
  8.  * For the full copyright and license information, please view the LICENSE
  9.  * file that was distributed with this source code.
  10.  */
  11. namespace Sonata\CoreBundle\Model;
  12. if (!class_exists(\Sonata\Doctrine\Entity\BaseEntityManager::class, false)) {
  13.     @trigger_error(
  14.         'The '.__NAMESPACE__.'\BaseEntityManager class is deprecated since version 3.12.0 and will be removed in 4.0.'
  15.         .' Use Sonata\Doctrine\Entity\BaseEntityManager instead.',
  16.         E_USER_DEPRECATED
  17.     );
  18. }
  19. class_alias(
  20.     \Sonata\Doctrine\Entity\BaseEntityManager::class,
  21.     __NAMESPACE__.'\BaseEntityManager'
  22. );
  23. if (false) {
  24.     /**
  25.      * @author Sylvain Deloux <[email protected]>
  26.      *
  27.      * @deprecated since 3.12.0, to be removed in 4.0.
  28.      */
  29.     abstract class BaseEntityManager extends \Sonata\Doctrine\Entity\BaseEntityManager implements ManagerInterface
  30.     {
  31.     }
  32. }