di.config.php 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. return [
  7. 'di' => [
  8. 'instance' => [
  9. 'preference' => [
  10. \Zend\EventManager\EventManagerInterface::class => 'EventManager',
  11. \Zend\ServiceManager\ServiceLocatorInterface::class => \Zend\ServiceManager\ServiceManager::class,
  12. \Magento\Framework\DB\LoggerInterface::class => \Magento\Framework\DB\Logger\Quiet::class,
  13. \Magento\Framework\Locale\ConfigInterface::class => \Magento\Framework\Locale\Config::class,
  14. \Magento\Framework\Filesystem\DriverInterface::class =>
  15. \Magento\Framework\Filesystem\Driver\File::class,
  16. \Magento\Framework\Component\ComponentRegistrarInterface::class =>
  17. \Magento\Framework\Component\ComponentRegistrar::class,
  18. ],
  19. \Magento\Framework\Setup\Declaration\Schema\SchemaConfig::class => [
  20. 'parameters' => [
  21. 'connectionScopes' => [
  22. 'default',
  23. 'checkout',
  24. 'sales'
  25. ]
  26. ]
  27. ],
  28. ],
  29. ],
  30. ];