DoctrineOrmTestCase.php 992 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Bridge\Doctrine\Tests;
  11. @trigger_error('The '.__NAMESPACE__.'\DoctrineOrmTestCase class is deprecated since Symfony 2.4 and will be removed in 3.0. Use Symfony\Bridge\Doctrine\Test\DoctrineTestHelper class instead.', E_USER_DEPRECATED);
  12. use Doctrine\ORM\EntityManager;
  13. use PHPUnit\Framework\TestCase;
  14. use Symfony\Bridge\Doctrine\Test\DoctrineTestHelper;
  15. /**
  16. * Class DoctrineOrmTestCase.
  17. *
  18. * @deprecated since version 2.4, to be removed in 3.0.
  19. * Use {@link DoctrineTestHelper} instead.
  20. */
  21. abstract class DoctrineOrmTestCase extends TestCase
  22. {
  23. /**
  24. * @return EntityManager
  25. */
  26. public static function createTestEntityManager()
  27. {
  28. return DoctrineTestHelper::createTestEntityManager();
  29. }
  30. }