| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class RespondWithJsonJob extends Job |
||
| 10 | { |
||
| 11 | protected $status; |
||
| 12 | protected $content; |
||
| 13 | protected $headers; |
||
| 14 | protected $options; |
||
| 15 | |||
| 16 | 4 | public function __construct($content = null, int $status = 200, array $headers = [], int $options = 0) |
|
| 17 | { |
||
| 18 | 4 | $this->content = $content; |
|
| 19 | 4 | $this->status = $status; |
|
| 20 | 4 | $this->headers = $headers; |
|
| 21 | 4 | $this->options = $options; |
|
| 22 | 4 | } |
|
| 23 | |||
| 24 | 4 | public function handle(ResponseFactory $factory) : JsonResponse |
|
| 32 | } |
||
| 33 | } |
||
| 34 |