19declare(strict_types=1);
49 private bool $isolation_configured =
true,
58 throw new \InvalidArgumentException(
59 'IRSS User Content Isolation requires a valid content domain '
60 .
'(a bare host like "content.example.org" or a "scheme://host[:port]" '
61 .
'origin, no userinfo/path/query). Given: '
67 $this->isolation_content_domain = $content;
82 return $this->isolation_configured;
Read-only configuration of the IRSS User Content Isolation feature.
static normalizeOrigin(mixed $value)
Validate and normalize a configured domain to a bare origin ("scheme://host[:port]"),...
Setup configuration for the FileDelivery component.
string $isolation_content_domain
getIsolationContentDomain()
__construct(bool $isolation_activated=false, ?string $isolation_content_domain=null, private bool $isolation_configured=true,)
bool $isolation_activated
A configuration for the setup.