Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ConnectionFactory.php
Go to the documentation of this file.
1 <?php
7 
9 
13 class ConnectionFactory extends ModelConnectionFactory
14 {
22  public function create(array $connectionConfig)
23  {
24  $connection = parent::create($connectionConfig);
26  $ddlCache = $this->objectManager->get(\Magento\Framework\DB\Adapter\DdlCache::class);
27  $connection->setCacheAdapter($ddlCache);
28  return $connection;
29  }
30 }
$connection
Definition: bulk.php:13