| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | readonly class PdfOptimizerJobData |
||
| 12 | { |
||
| 13 | public function __construct( |
||
| 14 | public string $id, |
||
| 15 | public array $commands, |
||
| 16 | public string $input, |
||
| 17 | public string $output, |
||
| 18 | public ?File $file = null, |
||
| 19 | public ?Disk $disk = null, |
||
| 20 | public ?LoggerInterface $logger = null, |
||
| 21 | public int $timeout = 900 |
||
| 22 | ) {} |
||
| 23 | |||
| 24 | public static function make(array $commands, string $input, string $output, File $file, ?Disk $disk = null, ?LoggerInterface $logger = null, int $timeout = 900): self |
||
| 29 | } |
||
| 30 | } |
||
| 31 |