Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class URLRequest extends ChromeRequest |
||
6 | { |
||
7 | /** @var string */ |
||
8 | protected $URL; |
||
9 | |||
10 | /** |
||
11 | * HTMLRequest constructor. |
||
12 | * @param string $URL |
||
13 | */ |
||
14 | public function __construct(string $URL) |
||
15 | { |
||
16 | $this->URL = $URL; |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * @return string |
||
21 | */ |
||
22 | public function getPostURL(): string |
||
23 | { |
||
24 | return '/convert/url'; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @return array<string,mixed> |
||
29 | */ |
||
30 | public function getFormValues(): array |
||
35 | } |
||
36 | } |
||
37 |