App\Http\Requests\UpdateExpenseRequest::rules PHP Méthode

rules() public méthode

Get the validation rules that apply to the request.
public rules ( ) : array
Résultat array
    public function rules()
    {
        return ['amount' => 'numeric'];
    }
UpdateExpenseRequest