Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class Factory |
||
13 | { |
||
14 | /** |
||
15 | * @return Parser |
||
16 | */ |
||
17 | public static function createParser(): Parser |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @throws \LayerShifter\TLDExtract\Exceptions\RuntimeException |
||
24 | * |
||
25 | * @return Extract |
||
26 | */ |
||
27 | public static function createTldExtractor(): Extract |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @param null|string $subdomain |
||
34 | * @param null|string $hostname |
||
35 | * @param null|string $suffix |
||
36 | * |
||
37 | * @return TldResultInterface |
||
38 | */ |
||
39 | public static function createTldResult(?string $subdomain, ?string $hostname, ?string $suffix): TldResultInterface |
||
44 |