Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 80% |
Changes | 0 |
1 | <?php |
||
13 | abstract class AbstractController extends AbstractCommunicationPlugin |
||
14 | { |
||
15 | /** |
||
16 | * @var \Xervice\Controller\Business\Model\Provider\KernelBridgeInterface |
||
17 | */ |
||
18 | private $kernel; |
||
19 | |||
20 | /** |
||
21 | * @param \Xervice\Controller\Business\Model\Provider\KernelBridgeInterface $kernel |
||
22 | */ |
||
23 | 5 | public function setKernel(KernelBridgeInterface $kernel): void |
|
26 | 5 | } |
|
27 | |||
28 | /** |
||
29 | * @param string $serviceName |
||
30 | * |
||
31 | * @return \Xervice\Kernel\Business\Plugin\ClearServiceInterface|null |
||
32 | */ |
||
33 | protected function getService(string $serviceName): ?ClearServiceInterface |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @param string $content |
||
40 | * @param int $status |
||
41 | * @param array $header |
||
42 | * |
||
43 | * @return \Symfony\Component\HttpFoundation\Response |
||
44 | * @throws \InvalidArgumentException |
||
45 | */ |
||
46 | 4 | protected function sendResponse( |
|
58 | } |