/** * Handle the command. * * @param Request $request * @param ResponseFactory $response * @throws \Exception */ public function handle(Request $request, ResponseFactory $response) { if ($this->builder instanceof MultipleTableBuilder) { return; } $this->dispatch(new ExecuteAction($this->builder)); if (!$this->builder->getTableResponse()) { $this->builder->setTableResponse($response->redirectTo($request->fullUrl())); } }