File "PHPDriver.php"

Full Path: /home/warrior1/public_html/wp-content-20241001222009/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/PHPDriver.php
File size: 613 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
declare (strict_types=1);
namespace MailPoetVendor\Doctrine\ORM\Mapping\Driver;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Doctrine\Deprecations\Deprecation;
use MailPoetVendor\Doctrine\Persistence\Mapping\Driver\FileLocator;
use MailPoetVendor\Doctrine\Persistence\Mapping\Driver\PHPDriver as CommonPHPDriver;
class PHPDriver extends CommonPHPDriver
{
 public function __construct($locator)
 {
 Deprecation::trigger('doctrine/orm', 'https://github.com/doctrine/orm/issues/9277', 'PHPDriver is deprecated, use StaticPHPDriver or other mapping drivers instead.');
 parent::__construct($locator);
 }
}