1 | <?php |
||
14 | trait ServiceContainerGetterMethods |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * @throws \Exception |
||
19 | * @return \Symfony\Component\DependencyInjection\ContainerInterface |
||
20 | */ |
||
21 | protected abstract function getContainer(); |
||
22 | |||
23 | /** |
||
24 | * @return \Xiidea\EasyAuditBundle\Resolver\EventResolverInterface |
||
25 | */ |
||
26 | public function getCommonResolver() |
||
30 | |||
31 | |||
32 | public function getService($serviceName) |
||
36 | |||
37 | /** |
||
38 | * @return boolean|\Symfony\Component\HttpFoundation\Request |
||
39 | */ |
||
40 | public function getRequest() |
||
48 | |||
49 | /** |
||
50 | * @return \Xiidea\EasyAuditBundle\Resolver\EventResolverInterface |
||
51 | */ |
||
52 | public function getEntityEventResolver() |
||
56 | |||
57 | /** |
||
58 | * @param string $parameter |
||
59 | * @return mixed |
||
60 | */ |
||
61 | public function getParameter($parameter) |
||
65 | |||
66 | /** |
||
67 | * @return \Symfony\Component\HttpKernel\KernelInterface |
||
68 | */ |
||
69 | public function getKernel() |
||
73 | |||
74 | /** |
||
75 | * @return boolean |
||
76 | */ |
||
77 | public function isDebug() |
||
81 | |||
82 | public function getDoctrineEventsList() |
||
87 | } |
||
88 |