Request
extends Facade
in package
Tags
Table of Contents
- $app : App
- $resolvedInstance : array<string|int, mixed>
- __callStatic() : mixed
- baseUrl() :
- clearResolvedInstances() : mixed
- clear
- cookie() :
- currentUrl() :
- files() :
- forwardedIp() :
- get() :
- host() :
- ip() :
- isAjax() :
- local() :
- matchUri() :
- method() :
- path() :
- post() :
- raw() :
- referer() :
- request() :
- requestUri() :
- scheme() :
- segments() :
- server() :
- setFacadeApplication() : mixed
- {@inheritDoc}
- userAgent() :
- getFacadeAccessor() : string
- getFacadeRoot() : object|stdClass
- resolveFacadeInstance() : object
Properties
$app
protected
static App
$app
$resolvedInstance
protected
static array<string|int, mixed>
$resolvedInstance
Methods
__callStatic()
public
static __callStatic( $method, $args) : mixed
Parameters
Tags
Return values
mixed —baseUrl()
public
static baseUrl() :
Return values
—clearResolvedInstances()
clear
public
static clearResolvedInstances() : mixed
Return values
mixed —cookie()
public
static cookie(string $name = null) :
Parameters
- $name = null : string
Return values
—currentUrl()
public
static currentUrl() :
Return values
—files()
public
static files(string $name = null) :
Parameters
- $name = null : string
Return values
—forwardedIp()
public
static forwardedIp() :
Return values
—get()
public
static get(string $name = null) :
Parameters
- $name = null : string
Return values
—host()
public
static host() :
Return values
—ip()
public
static ip() :
Return values
—isAjax()
public
static isAjax(string $method = null) :
Parameters
- $method = null : string
Return values
—local()
public
static local(mixed $basic) :
Parameters
- $basic : mixed
Return values
—matchUri()
public
static matchUri(mixed $uri) :
Parameters
- $uri : mixed
Return values
—method()
public
static method(string $method = null) :
Parameters
- $method = null : string
Return values
—path()
public
static path() :
Return values
—post()
public
static post(string $name = null) :
Parameters
- $name = null : string
Return values
—raw()
public
static raw() :
Return values
—referer()
public
static referer() :
Return values
—request()
public
static request(string $name = null) :
Parameters
- $name = null : string
Return values
—requestUri()
public
static requestUri() :
Return values
—scheme()
public
static scheme() :
Return values
—segments()
public
static segments(int|null $key = null) :
Parameters
- $key = null : int|null
Return values
—server()
public
static server(mixed $value) :
Parameters
- $value : mixed
Return values
—setFacadeApplication()
{@inheritDoc}
public
static setFacadeApplication(App $app) : mixed
Parameters
- $app : App
Return values
mixed —userAgent()
public
static userAgent() :
Return values
—getFacadeAccessor()
protected
static getFacadeAccessor() : string
Return values
string —getFacadeRoot()
protected
static getFacadeRoot() : object|stdClass
Return values
object|stdClass —resolveFacadeInstance()
protected
static resolveFacadeInstance(string $mainClass) : object
Parameters
- $mainClass : string