| 1 | <?php |
||
| 7 | class ValiableServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | protected $commands = [ |
||
| 10 | 'Sonar\Valiable\Console\ValiableImportCommand', |
||
| 11 | 'Sonar\Valiable\Console\ValiableListCommand', |
||
| 12 | 'Sonar\Valiable\Console\ValiableClearCommand', |
||
| 13 | ]; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Perform post-registration booting of services. |
||
| 17 | * |
||
| 18 | * @return void |
||
| 19 | */ |
||
| 20 | 1 | public function boot() |
|
| 21 | { |
||
| 22 | 1 | $this->publishes([ |
|
| 23 | 1 | __DIR__ . '/../storage/app/sonar_valiables' => storage_path('app/sonar_valiables'), |
|
| 24 | ]); |
||
| 25 | 1 | } |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Register any package services. |
||
| 29 | * |
||
| 30 | * @return void |
||
| 31 | */ |
||
| 32 | 1 | public function register() |
|
| 38 | |||
| 39 | protected function registerValiableBuilder() |
||
| 45 | |||
| 46 | 1 | public function provides() |
|
| 50 | } |
||
| 51 |