1 | <?php |
||
2 | |||
3 | namespace App\Providers; |
||
4 | |||
5 | use Illuminate\Support\ServiceProvider; |
||
6 | |||
7 | class ValidationExtensionServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | |||
10 | public function register() {} |
||
11 | |||
12 | public function boot() { |
||
13 | $this->app->validator->resolver( function( $translator, $data, $rules, |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
14 | $messages = array(), $customAttributes = array() ) { |
||
15 | return new ValidatorExtended( $translator, $data, $rules, $messages, |
||
16 | $customAttributes ); |
||
17 | } ); |
||
18 | } |
||
19 | } |
||
20 |