doesn't need register but..

This commit is contained in:
Arandi Lopez 2016-07-18 22:57:30 -05:00
parent 8c1a9e1c69
commit 69faeea96e
1 changed files with 5 additions and 4 deletions

View File

@ -6,10 +6,6 @@ use Illuminate\Support\Facades\Validator;
class ProfaneServiceProvider extends ServiceProvider class ProfaneServiceProvider extends ServiceProvider
{ {
public function register()
{
}
public function boot() public function boot()
{ {
$this->loadTranslationsFrom(__DIR__.'/lang', 'laravel-profane'); $this->loadTranslationsFrom(__DIR__.'/lang', 'laravel-profane');
@ -24,4 +20,9 @@ class ProfaneServiceProvider extends ServiceProvider
return str_replace(':attribute', $attribute, $message); return str_replace(':attribute', $attribute, $message);
}); });
} }
public function register()
{
// code...
}
} }