app/Http/Requests/UpdatePlanRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            "status" => "required|integer|in:0,1",
        ];
    }
public function rules ( ) { return [ " status " => " required|integer|in:0,1 " , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .