Environment
The environment object takes care of secure host and base URL detection, as well as loading the dedicated environment options.
- $environment->address()
- $environment->baseUri()
- $environment->baseUrl()
- $environment->cli()
- $environment->detect()
- $environment->get()
- $environment->host()
- $environment->https()
- $environment->info()
- $environment->ip()
- $environment->isBehindProxy()
- $environment->isLocal()
- $environment->options()
- $environment->path()
- $environment->port()
- $environment->requestUri()
- $environment->requestUrl()
- $environment->scriptPath()
- $environment->toArray()
- Environment::getGlobally()
- Environment::sanitize()
- new Environment()