DefaultMetadataService.php 452 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. * Default implementation of metadata service, which does not return any real attributes.
  9. */
  10. class DefaultMetadataService implements MetadataServiceInterface
  11. {
  12. /**
  13. * {@inheritdoc}
  14. */
  15. public function getCustomAttributesMetadata($dataObjectClassName = null)
  16. {
  17. return [];
  18. }
  19. }