PHP Class App\Domains\Http\Jobs\RespondWithJsonJob

Inheritance: extends Lucid\Foundation\Job
Show file Open project: vinelab/lucid

Protected Properties

Property Type Description
$content
$headers
$options
$status

Public Methods

Method Description
__construct ( $content, $status = 200, array $headers = [], $options )
handle ( Illuminate\Routing\ResponseFactory $factory )

Method Details

__construct() public method

public __construct ( $content, $status = 200, array $headers = [], $options )
$headers array

handle() public method

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

Property Details

$content protected property

protected $content

$headers protected property

protected $headers

$options protected property

protected $options

$status protected property

protected $status