Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
9 | class JanitorManager extends Manager implements Factory |
||
10 | { |
||
11 | /** |
||
12 | * Create an instance of the specified driver. |
||
13 | * |
||
14 | * @return \Signifly\Janitor\AbstractProxy |
||
15 | */ |
||
16 | protected function createJwtDriver() |
||
17 | { |
||
18 | $config = $this->container['config']['janitor.drivers.jwt']; |
||
19 | |||
20 | return new JWTProxy($config); |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Create an instance of the specified driver. |
||
25 | * |
||
26 | * @return \Signifly\Janitor\AbstractProxy |
||
27 | */ |
||
28 | protected function createPassportDriver() |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * Get the default driver name. |
||
37 | * |
||
38 | * @throws \InvalidArgumentException |
||
39 | * |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getDefaultDriver() |
||
45 | } |
||
46 | } |
||
47 |