public function handle(ResponseFactory $factory) { $response = ['data' => $this->content, 'status' => $this->status]; return $factory->json($response, $this->status, $this->headers, $this->options); }