CustomerNameGenerationInterface.php 571 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Customer\Api;
  8. use Magento\Customer\Api\Data\CustomerInterface;
  9. /**
  10. * Interface CustomerNameGenerationInterface
  11. *
  12. * @api
  13. * @since 100.1.0
  14. */
  15. interface CustomerNameGenerationInterface
  16. {
  17. /**
  18. * Concatenate all customer name parts into full customer name.
  19. *
  20. * @param CustomerInterface $customerData
  21. * @return string
  22. * @since 100.1.0
  23. */
  24. public function getCustomerName(CustomerInterface $customerData);
  25. }