<?php namespace MailPoet\Doctrine; if (!defined('ABSPATH')) exit; use MailPoetVendor\Doctrine\Common\EventManager; use MailPoetVendor\Doctrine\DBAL\Configuration; use MailPoetVendor\Doctrine\DBAL\Connection; use MailPoetVendor\Doctrine\DBAL\Driver; class SerializableConnection extends Connection { private $params; private $driver; private $config; private $eventManager; public function __construct(array $params, Driver $driver, Configuration $config = null, EventManager $eventManager = null) { $this->params = $params; $this->driver = $driver; $this->config = $config; $this->eventManager = $eventManager; parent::__construct($params, $driver, $config, $eventManager); } public function __sleep() { return ['params', 'driver', 'config', 'eventManager']; } public function __wakeup() { parent::__construct($this->params, $this->driver, $this->config, $this->eventManager); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Annotations | Folder | 0755 |
|
|
EntityTraits | Folder | 0755 |
|
|
EventListeners | Folder | 0755 |
|
|
Types | Folder | 0755 |
|
|
Validator | Folder | 0755 |
|
|
ConfigurationFactory.php | File | 2.84 KB | 0644 |
|
ConnectionFactory.php | File | 3.19 KB | 0644 |
|
EntityManagerFactory.php | File | 2.5 KB | 0644 |
|
MetadataCache.php | File | 2.8 KB | 0644 |
|
PSRCacheInvalidArgumentException.php | File | 225 B | 0644 |
|
PSRCacheItem.php | File | 1010 B | 0644 |
|
PSRMetadataCache.php | File | 2.23 KB | 0644 |
|
ProxyClassNameResolver.php | File | 1.02 KB | 0644 |
|
Repository.php | File | 2.62 KB | 0644 |
|
SerializableConnection.php | File | 937 B | 0644 |
|
TablePrefixMetadataFactory.php | File | 2.46 KB | 0644 |
|
index.php | File | 0 B | 0644 |
|