string method() Get the request method. Return Value string
array messages() Get custom messages for validator errors. Return Value array
void merge(array $input) Merge new input into the current request's input array. Parameters array $input Return Value void
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
Page 641 of 996