|
...
|
...
|
@@ -4,32 +4,12 @@ namespace Lackoxygen\Customs; |
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
|
|
class CustomsProvider extends ServiceProvider
|
|
|
|
class CustomsServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
protected $defer = true;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $commands = [];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function register()
|
|
|
|
{
|
|
|
|
$this->commands($this->commands);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function boot()
|
|
|
|
{
|
|
|
|
$this->publishes([__DIR__ . '/../config/customs.php' => config_path('customs.php')]);
|
|
|
|
$configPath = __DIR__ . '/../config/customs.php';
|
|
|
|
$this->publishes([$configPath => config_path('customs.php')], 'lackoxygen-customs');
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
|