|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
namespace Lackoxygen\GzCbec;
|
|
|
|
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
|
|
class GzCBECProvider 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/gz-cbec.php' => config_path('gz-cbec.php')]);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string[]
|
|
|
|
*/
|
|
|
|
public function provides()
|
|
|
|
{
|
|
|
|
return ['gzCbec', GzCBEC::class];
|
|
|
|
}
|
|
|
|
} |