ExtensibleDataInterface.php 410 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Api;
  7. /**
  8. * Interface for entities which can be extended with extension attributes.
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ExtensibleDataInterface
  14. {
  15. /**
  16. * Key for extension attributes object
  17. */
  18. const EXTENSION_ATTRIBUTES_KEY = 'extension_attributes';
  19. }