CustomerCachedMetadata.php 784 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Customer\Model\Metadata;
  7. use Magento\Customer\Api\CustomerMetadataInterface;
  8. /**
  9. * Cached customer attribute metadata service
  10. */
  11. class CustomerCachedMetadata extends CachedMetadata implements CustomerMetadataInterface
  12. {
  13. /**
  14. * @var string
  15. */
  16. protected $entityType = 'customer';
  17. /**
  18. * Constructor
  19. *
  20. * @param CustomerMetadata $metadata
  21. * @param AttributeMetadataCache|null $attributeMetadataCache
  22. */
  23. public function __construct(
  24. CustomerMetadata $metadata,
  25. AttributeMetadataCache $attributeMetadataCache = null
  26. ) {
  27. parent::__construct($metadata, $attributeMetadataCache);
  28. }
  29. }