public function handleRequest(ActionRequest $request)
    {
        $this->handleWriterType($request);
        $this->handleFilename($request);

        $this->resource = $request->resource();
        $this->request  = ExportActionRequestFactory::make($request);

        $query = $this->request->toExportQuery();
        $this->handleOnly($this->request);
        $this->handleHeadings($query, $this->request);

        return $this->handle($request, $this->withQuery($query));
    }
public function handleRequest(ActionRequest $request)
    {
        $this->handleWriterType($request);
        $this->handleFilename($request);

        $this->resource = $request->resource();
        $this->request  = ExportActionRequestFactory::make($request);

        $query = $this->request->toExportQuery();
        $this->handleOnly($this->request);
        $this->handleHeadings($query, $this->request);

        return $this->handle($request, $this->withQuery($query));
    }
public function handleRequest ( ActionRequest $ request ) { $ this -> handleWriterType ( $ request ) ; $ this -> handleFilename ( $ request ) ; $ this -> resource = $ request -> resource ( ) ; $ this -> request = ExportActionRequestFactory :: make ( $ request ) ; $ query = $ this -> request -> toExportQuery ( ) ; $ this -> handleOnly ( $ this -> request ) ; $ this -> handleHeadings ( $ query , $ this -> request ) ; return $ this -> handle ( $ request , $ this -> withQuery ( $ query ) ) ; }
Execute the action for the given request.

@param  \Laravel\Nova\Http\Requests\ActionRequest $request

@return mixed
Execute the action for the given request .