public function formatContactDetails(ClientContactDetailsInterface $details, $lineSeparator = self::LINES_SEPARATOR)
    {
        $lines   = [];
        $lines[] = sprintf('%s %s', $details->getFirstName(), $details->getLastName());
        $lines[] = sprintf('%s %s', $details->getPhone(), $details->getSecondaryPhone());
        $lines[] = $details->getEmail();
        
        return implode($lineSeparator, $lines);
    }
public function formatContactDetails(ClientContactDetailsInterface $details, $lineSeparator = self::LINES_SEPARATOR)
    {
        $lines   = [];
        $lines[] = sprintf('%s %s', $details->getFirstName(), $details->getLastName());
        $lines[] = sprintf('%s %s', $details->getPhone(), $details->getSecondaryPhone());
        $lines[] = $details->getEmail();
        
        return implode($lineSeparator, $lines);
    }
public function formatContactDetails ( ClientContactDetailsInterface $ details , $ lineSeparator = self :: LINES_SEPARATOR ) { $ lines = [ ] ; $ lines [ ] = sprintf ( '%s %s' , $ details -> getFirstName ( ) , $ details -> getLastName ( ) ) ; $ lines [ ] = sprintf ( '%s %s' , $ details -> getPhone ( ) , $ details -> getSecondaryPhone ( ) ) ; $ lines [ ] = $ details -> getEmail ( ) ; return implode ( $ lineSeparator , $ lines ) ; }
Formats the contact details

@param ClientContactDetailsInterface $details
@param string                        $lineSeparator

@return string
Formats the contact details