AddressCachedMetadata.php 787 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\AddressMetadataInterface;
  8. /**
  9. * Cached customer address attribute metadata
  10. */
  11. class AddressCachedMetadata extends CachedMetadata implements AddressMetadataInterface
  12. {
  13. /**
  14. * @var string
  15. */
  16. protected $entityType = 'customer_address';
  17. /**
  18. * Constructor
  19. *
  20. * @param AddressMetadata $metadata
  21. * @param AttributeMetadataCache|null $attributeMetadataCache
  22. */
  23. public function __construct(
  24. AddressMetadata $metadata,
  25. AttributeMetadataCache $attributeMetadataCache = null
  26. ) {
  27. parent::__construct($metadata, $attributeMetadataCache);
  28. }
  29. }