Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
di.config.php
Go to the documentation of this file.
1 <?php
7 return [
8  'di' => [
9  'instance' => [
10  'preference' => [
11  \Zend\EventManager\EventManagerInterface::class => 'EventManager',
12  \Zend\ServiceManager\ServiceLocatorInterface::class => \Zend\ServiceManager\ServiceManager::class,
13  \Magento\Framework\DB\LoggerInterface::class => \Magento\Framework\DB\Logger\Quiet::class,
14  \Magento\Framework\Locale\ConfigInterface::class => \Magento\Framework\Locale\Config::class,
15  \Magento\Framework\Filesystem\DriverInterface::class =>
16  \Magento\Framework\Filesystem\Driver\File::class,
17  \Magento\Framework\Component\ComponentRegistrarInterface::class =>
18  \Magento\Framework\Component\ComponentRegistrar::class,
19  ],
20  \Magento\Framework\Setup\Declaration\Schema\SchemaConfig::class => [
21  'parameters' => [
22  'connectionScopes' => [
23  'default',
24  'checkout',
25  'sales'
26  ]
27  ]
28  ],
29  ],
30  ],
31 ];