As a follow-up:
When I change validation.php to use Validator::extend(), then everything works fine.
However, I cannot get $this->data to be populated when working with Validator::extend() ($this->data is used in for example the 'confirmed' rule from where it reads the confirmation field value).
But I remain my case: if there are no possibilities to achieve two class extensions at the same time (ideally both with access to $this->data), this seems to be like a serious development blocker.
Anyone who can shed some light on this?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.