Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 80% |
Changes | 0 |
1 | <?php |
||
11 | class ClientFactory |
||
12 | { |
||
13 | /** |
||
14 | * @return Client |
||
15 | */ |
||
16 | public static function getGenericClient() |
||
17 | { |
||
18 | return self::getPhantomJsClient(); |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @return Client |
||
23 | */ |
||
24 | 2 | public static function getGoutteClient() |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * @return Client |
||
36 | */ |
||
37 | 2 | public static function getPhantomJsClient() |
|
46 |