eaea5f4c83
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
48 lines
1.1 KiB
PHP
48 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace KTXC\Models\Tenant;
|
|
|
|
use KTXF\Json\JsonSerializableObject;
|
|
|
|
/**
|
|
* Tenant Configuration
|
|
*/
|
|
class TenantConfiguration extends JsonSerializableObject
|
|
{
|
|
protected TenantAuthentication $authentication;
|
|
protected TenantSecurity $security;
|
|
protected TenantFirewall $firewall;
|
|
protected TenantStores $stores;
|
|
protected TenantPreview $preview;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->authentication = new TenantAuthentication();
|
|
$this->security = new TenantSecurity();
|
|
$this->firewall = new TenantFirewall();
|
|
$this->stores = new TenantStores();
|
|
$this->preview = new TenantPreview();
|
|
}
|
|
|
|
public function authentication(): TenantAuthentication {
|
|
return $this->authentication;
|
|
}
|
|
|
|
public function security(): TenantSecurity {
|
|
return $this->security;
|
|
}
|
|
|
|
public function firewall(): TenantFirewall {
|
|
return $this->firewall;
|
|
}
|
|
|
|
public function stores(): TenantStores {
|
|
return $this->stores;
|
|
}
|
|
|
|
public function preview(): TenantPreview {
|
|
return $this->preview;
|
|
}
|
|
|
|
}
|