| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | final class MarkdownRequest extends HTMLRequest |
||
| 6 | { |
||
| 7 | /** @var Document[] */ |
||
| 8 | private $markdowns; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * MarkdownRequest constructor. |
||
| 12 | * @param Document $index |
||
| 13 | * @param Document[] $markdowns |
||
| 14 | */ |
||
| 15 | public function __construct(Document $index, array $markdowns) |
||
| 19 | } |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | public function getPostURL(): string |
||
| 26 | { |
||
| 27 | return '/convert/markdown'; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return array<string,Document> |
||
| 32 | */ |
||
| 33 | public function getFormFiles(): array |
||
| 40 | } |
||
| 41 | } |
||
| 42 |