Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | class RespondWithViewJob extends Job |
||
10 | { |
||
11 | protected $status; |
||
12 | protected $data; |
||
13 | protected $headers; |
||
14 | protected $template; |
||
15 | |||
16 | 4 | public function __construct(string $template, array $data = [], int $status = 200, array $headers = []) |
|
17 | { |
||
18 | 4 | $this->template = $template; |
|
19 | 4 | $this->data = $data; |
|
20 | 4 | $this->status = $status; |
|
21 | 4 | $this->headers = $headers; |
|
22 | 4 | } |
|
23 | |||
24 | 4 | public function handle(ResponseFactory $factory) : Response |
|
27 | } |
||
28 | } |
||
29 |