public function getCreatedByNameAttribute()
    {
        if ($this->{$this->getCreatedByColumn()}) {
            return $this->creator->first_name . ' ' . $this->creator->last_name;
        }

        return '';
    }
public function getCreatedByNameAttribute()
    {
        if ($this->{$this->getCreatedByColumn()}) {
            return $this->creator->first_name . ' ' . $this->creator->last_name;
        }

        return '';
    }
public function getCreatedByNameAttribute ( ) { if ( $ this -> { $ this -> getCreatedByColumn ( ) } ) { return $ this -> creator -> first_name . ' ' . $ this -> creator -> last_name ; } return '' ; }
Get created by user full name.

@return string
Get created by user full name .