1 | <?php |
||
20 | class TenantProvider implements TenantProviderInterface |
||
21 | { |
||
22 | private $tenantRepository; |
||
23 | |||
24 | private $internalCache = []; |
||
25 | |||
26 | public function __construct(TenantRepositoryInterface $tenantRepository) |
||
30 | |||
31 | public function getAvailableTenants(): array |
||
36 | |||
37 | public function findOneByCode(string $tenantCode): ?TenantInterface |
||
48 | } |
||
49 |