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

$bootstrap

$domainName


Methods

__construct()

public DomainName::__construct (
?Bootstrap $bootstrap
)
Parameters
$bootstrap: ?Bootstrap
 

__sleep()

public DomainName::__sleep (
void
): array

__toString()

public DomainName::__toString (
void
): string

get()

public DomainName::get (
void
): string