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