1 | <?php |
||
26 | class ConsoleCommandTenantListener |
||
27 | { |
||
28 | /** |
||
29 | * @var TenantContextInterface |
||
30 | */ |
||
31 | protected $tenantContext; |
||
32 | |||
33 | /** |
||
34 | * @var TenantRepositoryInterface |
||
35 | */ |
||
36 | protected $tenantRepository; |
||
37 | |||
38 | /** |
||
39 | * ConsoleCommandTenantListener constructor. |
||
40 | * |
||
41 | * @param TenantContextInterface $tenantContext |
||
42 | */ |
||
43 | public function __construct(TenantContextInterface $tenantContext, TenantRepositoryInterface $tenantRepository) |
||
48 | |||
49 | /** |
||
50 | * @param ConsoleCommandEvent $event |
||
51 | */ |
||
52 | public function onConsoleCommand(ConsoleCommandEvent $event) |
||
66 | } |
||
67 |