static bool matchesType(string $actual, string $type) Determine if the given content types match. Parameters string $actual string $type Return Value bool
static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void
mixed json(string $key = null, mixed $default = null) Get the JSON payload for the request. Parameters string $key mixed $default Return Value mixed
bool isJson() Determine if the request is sending JSON. Return Value bool
bool is() Determine if the current request URI matches a pattern. Return Value bool
array ips() Returns the client IP addresses. Return Value array
string ip() Returns the client IP address. Return Value string
array intersect(array|mixed $keys) Intersect an array of items with the input data. Parameters array|mixed $keys Return Value array
$this instance() Return the Request instance. Return Value $this
string|array input(string $key = null, string|array|null $default = null) Retrieve an input item from the request. Parameters string $key string|array|null $default Return Value string|array
Page 255 of 996