XmlDriverTest.php 588 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of the Symfony framework.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace Symfony\Bundle\DoctrineBundle\Tests\Mapping\Driver;
  11. use Symfony\Bundle\DoctrineBundle\Mapping\Driver\XmlDriver;
  12. class XmlDriverTest extends AbstractDriverTest
  13. {
  14. protected function getFileExtension()
  15. {
  16. return '.orm.xml';
  17. }
  18. protected function getDriver(array $paths = array())
  19. {
  20. return new XmlDriver($paths);
  21. }
  22. }