123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\ObjectManager\TestAsset;
- /**
- * Mock DI configuration in \Magento\Framework\ObjectManager\Factory\CompiledTest should inject an alias into
- * the constructor of this class
- */
- class DependsOnAlias
- {
- /**
- * @var HasOptionalParameters
- */
- protected $_object;
- /**
- * @param HasOptionalParameters $object
- */
- public function __construct(HasOptionalParameters $object)
- {
- $this->_object = $object;
- }
- public function getOverriddenString()
- {
- return $this->_object->getOptionalStringParameter();
- }
- public function getOverRiddenInteger()
- {
- return $this->_object->getOptionalIntegerParameter();
- }
- }
|