Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Request
macro
Request::macro PHP Method
Request Class Documentation
Mostrar archivo
Open project: someline/someline-starter
macro()
public
static
method
Register a custom macro.
public
static
macro
(
string
$name
,
callable
$macro
) :
void
$name
string
$macro
callable
return
void
public static function macro($name, $macro) { \Illuminate\Http\Request::macro($name, $macro); }
Request
accepts
acceptsHtml
acceptsJson
ajax
all
allFiles
bearerToken
capture
cookie
create
createFromBase
createFromGlobals
decodedPath
duplicate
enableHttpMethodParameterOverride
except
exists
file
fingerprint
flash
flashExcept
flashOnly
flush
format
fullUrl
fullUrlIs
fullUrlWithQuery
get
getAcceptableContentTypes
getBasePath
getBaseUrl
getCharsets
getClientIp
getClientIps
getContent
getContentType
getDefaultLocale
getETags
getEncodings
getFormat
getHost
getHttpHost
getHttpMethodParameterOverride
getLanguages
getLocale
getMethod
getMimeType
getPassword
getPathInfo
getPort
getPreferredLanguage
getQueryString
getRealMethod
getRelativeUriForPath
getRequestFormat
getRequestUri
getRouteResolver
getScheme
getSchemeAndHttpHost
getScriptName
getSession
getTrustedHeaderName
getTrustedHosts
getTrustedProxies
getUri
getUriForPath
getUser
getUserInfo
getUserResolver
has
hasCookie
hasFile
hasHeader
hasMacro
hasPreviousSession
hasSession
header
initialize
input
instance
intersect
ip
ips
is
isJson
isMethod
isMethodSafe
isNoCache
isSecure
isXmlHttpRequest
json
macro
matchesType
merge
method
normalizeQueryString
offsetExists
offsetGet
offsetSet
offsetUnset
old
only
overrideGlobals
path
pjax
prefers
query
replace
root
route
secure
segment
segments
server
session
setDefaultLocale
setFactory
setFormat
setLocale
setMethod
setRequestFormat
setRouteResolver
setSession
setTrustedHeaderName
setTrustedHosts
setTrustedProxies
setUserResolver
toArray
url
user
wantsJson