Base class for defining reusable validators for request routes. If instantiated with a container, it must be a request-level container, but the type interface allows any data-container to be used when creating manually.
You should mark implementations of this class as singleton to avoid re-validating the input data every time it is accessed.
The cached validation result.
The global application instance.
Get the global Application.
Validate and get the request input. Throws a validation error on fail. Internally, caches the result after the first validation. So, singleton validators will avoid re-processing their rules every time.
Get the method with the given name from this class, bound to this class.
make() method on the global container.