| 1 | <?php |
||
| 18 | class TenantProvider implements TenantProviderInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var TenantRepositoryInterface |
||
| 22 | */ |
||
| 23 | private $tenantRepository; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Construct. |
||
| 27 | * |
||
| 28 | * @param TenantRepositoryInterface $tenantRepository Tenant repository |
||
| 29 | */ |
||
| 30 | public function __construct(TenantRepositoryInterface $tenantRepository) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function getAvailableTenants() |
||
| 43 | } |
||
| 44 |