Log in
Interface

CustomerNameGenerationInterface

Magento\Customer\Api\CustomerNameGenerationInterface

What it does

This interface defines a contract for generating a customer's full name by concatenating their name parts (first name, middle name, last name, prefix, suffix).

Developers would use this when they need to display or work with a customer's complete formatted name in a consistent way across the application, such as in emails, order confirmations, or account pages.

Public Methods

  • getCustomerName()