firefly-iii/app/lib/FireflyIII/Shared/Validation/ValidationServiceProvider.php
2014-11-12 22:37:09 +01:00

27 lines
533 B
PHP

<?php
namespace FireflyIII\Shared\Validation;
use Illuminate\Support\ServiceProvider;
/**
* Class ValidationServiceProvider
*
* @package FireflyIII\Shared\Validation
*/
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()
{
}
}