trait CanBePrecognitive (View source)
| array | filterPrecognitiveRules(array $rules)
Filter the given array of rules into an array of rules that are included in precognitive headers. | |
| bool | isAttemptingPrecognition()
Determine if the request is attempting to be precognitive. | |
| bool | isPrecognitive()
Determine if the request is precognitive. |
Filter the given array of rules into an array of rules that are included in precognitive headers.
Determine if the request is attempting to be precognitive.
Determine if the request is precognitive.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Http/Concerns/CanBePrecognitive.html