Add serializable DB connection wrapper

[MAILPOET-2014]
This commit is contained in:
Jan Jakeš
2019-07-18 15:38:49 +02:00
committed by M. Shull
parent 68057c7cab
commit a07043cfb4
3 changed files with 34 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ class ConnectionFactory {
function createConnection() {
$platform_class = self::PLATFORM_CLASS;
$connection_params = [
'wrapperClass' => SerializableConnection::class,
'driver' => self::DRIVER,
'platform' => new $platform_class,
'host' => Env::$db_host,