app/Http/Requests/CommentRequest.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 [
            'comment_user_id'=>'',
            'information_id'=>'required',
            'content'=>'required',
        ];
    }
public function rules ( ) { return [ 'comment_user_id' => '' , 'information_id' => 'required' , 'content' => 'required' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .