public function getFullName()
    {
        $fullName = $this->getFirstName() . ' ' . $this->getLastName();
        if (strlen(trim($fullName))) {
            return $fullName;
        }
        return $this->getDisplayName();
    }
public function getFullName()
    {
        $fullName = $this->getFirstName() . ' ' . $this->getLastName();
        if (strlen(trim($fullName))) {
            return $fullName;
        }
        return $this->getDisplayName();
    }
public function getFullName ( ) { $ fullName = $ this -> getFirstName ( ) . ' ' . $ this -> getLastName ( ) ; if ( strlen ( trim ( $ fullName ) ) ) { return $ fullName ; } return $ this -> getDisplayName ( ) ; }
Return the name and surname from the User.

If doesn't exists we just return his alias.

@return string
Return the name and surname from the User .