2021-03-17 00:52:03 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Kwaadpepper\Enum;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
|
|
|
|
class EnumServiceProvider extends ServiceProvider
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Bootstrap any application services.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function boot()
|
|
|
|
|
{
|
2021-09-11 13:35:17 +02:00
|
|
|
$this->loadJsonTranslationsFrom(__DIR__ . '/../resources/lang');
|
2021-03-17 00:52:03 +01:00
|
|
|
|
|
|
|
|
$this->publishes([
|
|
|
|
|
__DIR__ . '/../resources/lang' => resource_path('lang/vendor/enum'),
|
|
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
}
|