doesn't need register but..
This commit is contained in:
parent
8c1a9e1c69
commit
69faeea96e
|
|
@ -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...
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue