app/Http/Requests/orderproductRequest.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 [
            'addressuserorder' => 'required|max:255',          
            'approve'=>'required',      
           'usersellphotos'=>'image|mimes:jpeg,bmp,png|max:2000'
        ];
    }
public function rules ( ) { return [ 'addressuserorder' => 'required|max:255' , 'approve' => 'required' , 'usersellphotos' => 'image|mimes:jpeg,bmp,png|max:2000' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .