src/User.php
public function getNameAttribute($value)
    {
        if ($this->person) return $this->person->givenName . ' ' . $this->person->sn1 . ' ' . $this->person->sn2;
        return $value;
    }
public function getNameAttribute($value)
    {
        if ($this->person) return $this->person->givenName . ' ' . $this->person->sn1 . ' ' . $this->person->sn2;
        return $value;
    }
public function getNameAttribute ( $ value ) { if ( $ this -> person ) return $ this -> person -> givenName . ' ' . $ this -> person -> sn1 . ' ' . $ this -> person -> sn2 ; return $ value ; }
Accessor for name attribute.

@param $value
@return string
Accessor for name attribute .