trait
Illuminate
/
Http
/
Concerns
/
CanBePrecognitive
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
CanBePrecognitive
Methods
public
filterPrecognitiveRules ( $rules ) : array
Filter the given array of rules into an array of rules that are included in precognitive headers.
Parameters
- $rules array
public
isAttemptingPrecognition ( ) : bool
Determine if the request is attempting to be precognitive.
public
isPrecognitive ( ) : bool
Determine if the request is precognitive.