src/User.php
public function name()
    {
        if(isset($this->first_name) && isset($this->surname))
            return $this->first_name . ' ' . $this->surname;
        elseif(isset($this->first_name))
            return $this->first_name;
        else
            return $this->user;
    }
public function name()
    {
        if(isset($this->first_name) && isset($this->surname))
            return $this->first_name . ' ' . $this->surname;
        elseif(isset($this->first_name))
            return $this->first_name;
        else
            return $this->user;
    }
Outputs a human readable name, base on firstname and surname, if they exist for the user,
but falling back on username, otherwise