PHP Class App\Domains\Http\Jobs\RespondWithJsonErrorJob

Inheritance: extends RespondWithJsonJob
Show file Open project: vinelab/lucid

Public Methods

Method Description
__construct ( $message = 'An error occurred', $code = 400, $status = 400, $headers = [], $options )
handle ( Illuminate\Routing\ResponseFactory $response )

Method Details

__construct() public method

public __construct ( $message = 'An error occurred', $code = 400, $status = 400, $headers = [], $options )

handle() public method

public handle ( Illuminate\Routing\ResponseFactory $response )
$response Illuminate\Routing\ResponseFactory