$request->is()
Checks if the given method name matches the name of the request method.
$request->is(string $method): bool
Parameters
Name | Type | Default |
---|---|---|
$method * | string |
– |
Return type
bool
Checks if the given method name matches the name of the request method.
$request->is(string $method): bool
Name | Type | Default |
---|---|---|
$method * | string |
– |
bool