ExtensionAttributesObject.php 578 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Reflection\Test\Unit;
  7. use Magento\Framework\Api\ExtensionAttributesInterface;
  8. /**
  9. * Dummy data object to be used by ExtensionAttributesProcessorTest
  10. */
  11. class ExtensionAttributesObject implements ExtensionAttributesInterface
  12. {
  13. /**
  14. * @return string
  15. */
  16. public function getAttrName()
  17. {
  18. return 'attrName';
  19. }
  20. /**
  21. * @return bool
  22. */
  23. public function isActive()
  24. {
  25. return false;
  26. }
  27. }