|
...
|
...
|
@@ -6,29 +6,10 @@ use Illuminate\Support\ServiceProvider; |
|
|
|
|
|
|
|
class TopWarehouseServiceProvider 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/top-warehouse.php' => config_path('top-warehouse.php')]);
|
|
|
|
$configPath = __DIR__ . '/../config/top-warehouse.php';
|
|
|
|
$this->publishes([$configPath => config_path('top-warehouse.php')], 'lackoxygen-top-warehouse');
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
|