com\setasign\SetaFramework\Bootstrap
DomainName Class DomainName
File: /SetaFramework/src/Bootstrap/DomainName.php
Just a simple container for the domain name. Can be used to only inject the domain name instead of the full request.
If the project is available under multiple domain names only the actual used one will be returned.
If the application is currently run in cli context the helper will try to use the configured domain in "bootstrap.domain" instead.
Class hierarchy
Implements
Summary
Properties
$domainName
private string DomainName::$domainName
Methods
__construct()
public DomainName::__construct ()
Parameters
- $bootstrap : Bootstrap
- $request : ?\Psr\Http\Message\ServerRequestInterface
