Support the ongoing development of Laravel.io →
Validation Packages
Last updated 2 years ago.
0

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?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.