public function getPersonalDetails()
    {
        $return = [];

        if ($this->Company) {
            $return[] = $this->Company;
        }

        if ($this->FirstName) {
            $return[] = $this->FirstName;
        }

        if ($this->Surname) {
            $return[] = $this->Surname;
        }

        if ($this->Email) {
            $return[] = $this->Email;
        }

        if ($this->PhoneNumber) {
            $return[] = $this->PhoneNumber;
        }

        return implode(",\n", $return);
    }
public function getPersonalDetails()
    {
        $return = [];

        if ($this->Company) {
            $return[] = $this->Company;
        }

        if ($this->FirstName) {
            $return[] = $this->FirstName;
        }

        if ($this->Surname) {
            $return[] = $this->Surname;
        }

        if ($this->Email) {
            $return[] = $this->Email;
        }

        if ($this->PhoneNumber) {
            $return[] = $this->PhoneNumber;
        }

        return implode(",\n", $return);
    }
public function getPersonalDetails ( ) { $ return = [ ] ; if ( $ this -> Company ) { $ return [ ] = $ this -> Company ; } if ( $ this -> FirstName ) { $ return [ ] = $ this -> FirstName ; } if ( $ this -> Surname ) { $ return [ ] = $ this -> Surname ; } if ( $ this -> Email ) { $ return [ ] = $ this -> Email ; } if ( $ this -> PhoneNumber ) { $ return [ ] = $ this -> PhoneNumber ; } return implode ( ",\n" , $ return ) ; }
Generate a string of the customer's personal details

@return string
Generate a string of the customer s personal details