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