| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class WritePdf implements ShouldQueue |
||
| 15 | { |
||
| 16 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
|
|
|||
| 17 | |||
| 18 | protected $html; |
||
| 19 | protected $table_id; |
||
| 20 | |||
| 21 | public $timeout = 120; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Create a new job instance. |
||
| 25 | * |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | public function __construct($html, $table_id) |
||
| 29 | { |
||
| 30 | $this->html = $html; |
||
| 31 | $this->table_id = $table_id; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Execute the job. |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public function handle() |
||
| 47 | } |
||
| 48 | } |
||
| 49 |