src/Requests/FilterRequest.php
public function setFields()
    {
        $fields = $this->request->get('fields', '*');
        $this->fields = array_filter(explode(',', $fields));
        return $this;
    }
public function setFields()
    {
        $fields = $this->request->get('fields', '*');
        $this->fields = array_filter(explode(',', $fields));
        return $this;
    }
public function setFields ( ) { $ fields = $ this -> request -> get ( 'fields' , '*' ) ; $ this -> fields = array_filter ( explode ( ',' , $ fields ) ) ; return $ this ; }
Seta os campos para a consulta

@return this
Seta os campos para a consulta