1 | <?php |
||
13 | class TenantAwareListener implements EventSubscriberInterface { |
||
14 | /** |
||
15 | * @var EntityManager |
||
16 | */ |
||
17 | protected $entityManager; |
||
18 | /** |
||
19 | * @var TenantResolver |
||
20 | */ |
||
21 | protected $tenantResolver; |
||
22 | |||
23 | public function __construct($entityManager, $tenantResolver) |
||
28 | |||
29 | public function onKernelController(FilterControllerEvent $event) |
||
47 | |||
48 | public static function getSubscribedEvents() |
||
52 | } |
||
53 |