mailpoet
/
vendor-prefixed
/
doctrine
/
orm
/
src
/
Mapping
/
Driver
/
CompatibilityAnnotationDriver.php
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
CompatibilityAnnotationDriver.php
17 lines
| 1 | <?php |
| 2 | declare (strict_types=1); |
| 3 | namespace MailPoetVendor\Doctrine\ORM\Mapping\Driver; |
| 4 | if (!defined('ABSPATH')) exit; |
| 5 | use MailPoetVendor\Doctrine\Persistence\Mapping\Driver\AnnotationDriver as PersistenceAnnotationDriver; |
| 6 | use MailPoetVendor\Doctrine\Persistence\Mapping\Driver\MappingDriver; |
| 7 | use function class_exists; |
| 8 | if (!class_exists(PersistenceAnnotationDriver::class)) { |
| 9 | abstract class CompatibilityAnnotationDriver implements MappingDriver |
| 10 | { |
| 11 | } |
| 12 | } else { |
| 13 | abstract class CompatibilityAnnotationDriver extends PersistenceAnnotationDriver |
| 14 | { |
| 15 | } |
| 16 | } |
| 17 |