1 | <?php |
||
21 | class MultiTenancyExtension extends AbstractExtension implements GlobalsInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var TenantContextInterface |
||
25 | */ |
||
26 | protected $tenantContext; |
||
27 | |||
28 | /** |
||
29 | * @param TenantContextInterface $tenantContext |
||
30 | */ |
||
31 | public function __construct(TenantContextInterface $tenantContext) |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function getGlobals() |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function getName() |
||
53 | } |
||
54 |