Total Complexity | 5 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class HTMLRequest extends ChromeRequest implements GotenbergRequestInterface |
||
8 | { |
||
9 | /** @var Document */ |
||
10 | private $index; |
||
11 | |||
12 | /** @var Document[] */ |
||
13 | private $assets; |
||
14 | |||
15 | public function __construct(Document $index) |
||
20 | } |
||
21 | |||
22 | public function getPostURL(): string |
||
23 | { |
||
24 | return '/convert/html'; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @return array<string,Document> |
||
29 | */ |
||
30 | public function getFormFiles(): array |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @param Document[] $assets |
||
43 | */ |
||
44 | public function setAssets(array $assets): void |
||
47 | } |
||
48 | } |
||
49 |