mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			436 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			436 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| 
 | |
| namespace Firefly\Validation;
 | |
| 
 | |
| use Illuminate\Support\ServiceProvider;
 | |
| 
 | |
| class ValidationServiceProvider extends ServiceProvider
 | |
| {
 | |
|     public function boot()
 | |
|     {
 | |
|         $this->app->validator->resolver(
 | |
|             function ($translator, $data, $rules, $messages) {
 | |
|                 return new FireflyValidator($translator, $data, $rules, $messages);
 | |
|             }
 | |
|         );
 | |
|     }
 | |
| 
 | |
|     public function register()
 | |
|     {
 | |
|     }
 | |
| } 
 |