TrustHosts
abstract class TrustHosts (View source)
Properties
protected Application | $app | The application instance. |
Methods
void
array
hosts()
Get the host patterns that should be trusted.
bool
shouldSpecifyTrustedHosts()
Determine if the application should specify trusted hosts.
string|null
allSubdomainsOfApplicationUrl()
Get a regular expression matching the application URL and all of its subdomains.
Details
void
__construct(Application $app)
Create a new middleware instance.
abstract array
hosts()
Get the host patterns that should be trusted.
protected bool
shouldSpecifyTrustedHosts()
Determine if the application should specify trusted hosts.
protected string|null
allSubdomainsOfApplicationUrl()
Get a regular expression matching the application URL and all of its subdomains.