Compiled.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * ObjectManager config with interception processing
  4. *
  5. * Copyright © Magento, Inc. All rights reserved.
  6. * See COPYING.txt for license details.
  7. */
  8. namespace Magento\Framework\Interception\ObjectManager\Config;
  9. use Magento\Framework\Interception\ObjectManager\ConfigInterface;
  10. class Compiled extends \Magento\Framework\ObjectManager\Config\Compiled implements ConfigInterface
  11. {
  12. /**
  13. * @var \Magento\Framework\Interception\ConfigInterface
  14. */
  15. protected $interceptionConfig;
  16. /**
  17. * Set Interception config
  18. *
  19. * @param \Magento\Framework\Interception\ConfigInterface $interceptionConfig
  20. * @return void
  21. */
  22. public function setInterceptionConfig(\Magento\Framework\Interception\ConfigInterface $interceptionConfig)
  23. {
  24. $this->interceptionConfig = $interceptionConfig;
  25. }
  26. /**
  27. * Retrieve instance type without interception processing
  28. *
  29. * @param string $instanceName
  30. * @return string
  31. */
  32. public function getOriginalInstanceType($instanceName)
  33. {
  34. return parent::getInstanceType($instanceName);
  35. }
  36. }