MetadataServiceInterface.php 635 B

123456789101112131415161718192021222324
  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. * MetadataService returns custom attribute metadata for a given class or interface it implements
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface MetadataServiceInterface
  14. {
  15. /**
  16. * Get custom attribute metadata for the given class or interfaces it implements.
  17. *
  18. * @param string|null $dataObjectClassName Data object class name
  19. * @return \Magento\Framework\Api\MetadataObjectInterface[]
  20. */
  21. public function getCustomAttributesMetadata($dataObjectClassName = null);
  22. }