I am having issues in my Lumen (v5.2.*) application with custom validators. I have a custom Validation Service Provider that I initialize in my app.php file. The Validation Service Provider is where I add my custom validators.
I created a custom validator called 'validateProductTypeId' that I would like to call from another Service Provider (named OrderServiceProvider). I am validating the incoming request from within the Order Service Provider, but I am getting the following message: "Method validateProductTypeId does not exist."
My validation method has 'validate' prepended to it, so I am not sure why I am getting this error. Within my app.php, I am also registering my ValidationServiceProvider before my OrderServiceProvider.