App\Domains\Http\Jobs\RespondWithJsonJob::handle PHP Method

handle() public method

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