ConfigWriterInterface.php 466 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\Framework\App\ObjectManager;
  8. /**
  9. * Write compiled object manager configuration to storage
  10. */
  11. interface ConfigWriterInterface
  12. {
  13. /**
  14. * Writes config in storage
  15. *
  16. * @param string $key
  17. * @param array $config
  18. * @return void
  19. */
  20. public function write(string $key, array $config);
  21. }