Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class WebAccessFactory |
||
11 | { |
||
12 | /** |
||
13 | * Return a new WebAccess instance, can be used for local files using a path as $url. |
||
14 | * |
||
15 | * @param string|null $url URL on which the WebAccess will be used (optional) |
||
16 | * |
||
17 | * @return WebAccess instance. |
||
18 | */ |
||
19 | public static function getWebAccess(?string $url = null): WebAccess |
||
35 |