Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | protected function getManager() |
||
39 | { |
||
40 | return new class extends Manager { |
||
41 | |||
42 | public function createFooDriver() |
||
43 | { |
||
44 | return 'foo_driver'; |
||
45 | } |
||
46 | |||
47 | public function createBarDriver() |
||
48 | { |
||
49 | return 'bar_driver'; |
||
50 | } |
||
51 | |||
52 | public function getDefaultDriver() |
||
53 | { |
||
54 | return 'foo'; |
||
55 | } |
||
56 | }; |
||
57 | } |
||
58 | } |
||
59 |