Documentation

Request extends Facade
in package

Tags
see
Request::path()
see
Request::requestUri()
see
Request::matchUri()
see
Request::currentUrl()
see
Request::baseUrl()
see
Request::segments()
see
Request::request()
see
Request::get()
see
Request::post()
see
Request::files()
see
Request::raw()
see
Request::cookie()
see
Request::method()
see
Request::isAjax()
see
Request::scheme()
see
Request::host()
see
Request::local()
see
Request::userAgent()
see
Request::referer()
see
Request::ip()
see
Request::forwardedIp()
see
Request::server()
see
Request
mixin

\Core\Http\Request

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

$resolvedInstance

protected static array<string|int, mixed> $resolvedInstance

Methods

__callStatic()

public static __callStatic( $method,  $args) : mixed
Parameters
$method :
$args :
Tags
throws
Exception
Return values
mixed

baseUrl()

public static baseUrl() :

Return values

clearResolvedInstances()

clear

public static clearResolvedInstances() : mixed
Return values
mixed
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
Return values
object

Search results