InterfaceInjection.php 552 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\ObjectManager\TestAsset;
  7. class InterfaceInjection
  8. {
  9. /**
  10. * @var \Magento\Framework\ObjectManager\TestAsset\TestAssetInterface
  11. */
  12. protected $_object;
  13. /**
  14. * @param \Magento\Framework\ObjectManager\TestAsset\TestAssetInterface $object
  15. */
  16. public function __construct(\Magento\Framework\ObjectManager\TestAsset\TestAssetInterface $object)
  17. {
  18. $this->_object = $object;
  19. }
  20. }