vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php line 16

Open in your IDE?
  1. <?php
  2. namespace Doctrine\Common\Persistence\Mapping\Driver;
  3. use const E_USER_DEPRECATED;
  4. use function class_alias;
  5. use function class_exists;
  6. use function sprintf;
  7. use function trigger_error;
  8. if (! class_exists(\Doctrine\Persistence\Mapping\Driver\FileDriver::class, false)) {
  9.     @trigger_error(sprintf(
  10.         'The %s\FileDriver class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0.'
  11.         ' Use \Doctrine\Persistence\Mapping\Driver\FileDriver instead.',
  12.         __NAMESPACE__
  13.     ), E_USER_DEPRECATED);
  14. }
  15. class_alias(
  16.     \Doctrine\Persistence\Mapping\Driver\FileDriver::class,
  17.     __NAMESPACE__ '\FileDriver'
  18. );
  19. if (false) {
  20.     /**
  21.      * @deprecated 1.3 Use Doctrine\Persistence\Mapping\Driver\FileDriver
  22.      */
  23.     abstract class FileDriver extends \Doctrine\Persistence\Mapping\Driver\FileDriver
  24.     {
  25.     }
  26. }