Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class MarkdownRequest extends HTMLRequest implements GotenbergRequestInterface |
||
8 | { |
||
9 | /** @var Document[] */ |
||
10 | private $markdowns; |
||
11 | |||
12 | /** |
||
13 | * @param Document[] $markdowns |
||
14 | */ |
||
15 | public function __construct(Document $index, array $markdowns) |
||
19 | } |
||
20 | |||
21 | public function getPostURL(): string |
||
22 | { |
||
23 | return '/convert/markdown'; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @return array<string,Document> |
||
28 | */ |
||
29 | public function getFormFiles(): array |
||
37 | } |
||
38 | } |
||
39 |