AnnotationDriver.php
9 months ago
AttributeDriver.php
9 months ago
AttributeReader.php
9 months ago
CompatibilityAnnotationDriver.php
9 months ago
DriverChain.php
9 months ago
PHPDriver.php
9 months ago
ReflectionBasedDriver.php
9 months ago
RepeatableAttributeCollection.php
9 months ago
StaticPHPDriver.php
9 months ago
index.php
9 months ago
PHPDriver.php
16 lines
| 1 | <?php |
| 2 | declare (strict_types=1); |
| 3 | namespace MailPoetVendor\Doctrine\ORM\Mapping\Driver; |
| 4 | if (!defined('ABSPATH')) exit; |
| 5 | use MailPoetVendor\Doctrine\Deprecations\Deprecation; |
| 6 | use MailPoetVendor\Doctrine\Persistence\Mapping\Driver\FileLocator; |
| 7 | use MailPoetVendor\Doctrine\Persistence\Mapping\Driver\PHPDriver as CommonPHPDriver; |
| 8 | class PHPDriver extends CommonPHPDriver |
| 9 | { |
| 10 | public function __construct($locator) |
| 11 | { |
| 12 | Deprecation::trigger('doctrine/orm', 'https://github.com/doctrine/orm/issues/9277', 'PHPDriver is deprecated, use StaticPHPDriver or other mapping drivers instead.'); |
| 13 | parent::__construct($locator); |
| 14 | } |
| 15 | } |
| 16 |