Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class HttpControllerTestCase extends AbstractHttpControllerTestCase |
||
16 | { |
||
17 | /** |
||
18 | * @param string $name Service name |
||
19 | * |
||
20 | * @return array|mixed|object |
||
21 | */ |
||
22 | public function getService($name) |
||
23 | { |
||
24 | return $this->getApplicationServiceLocator()->get($name); |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param string $name Service name |
||
29 | * @param array|object $service |
||
30 | */ |
||
31 | public function replaceService($name, $service) |
||
38 | } |
||
39 | } |