| 1 | <?php |
||
| 9 | class LakerServiceProvider extends ServiceProvider |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Perform post-registration booting of services. |
||
| 13 | * |
||
| 14 | * @return void |
||
| 15 | */ |
||
| 16 | public function boot() |
||
| 17 | { |
||
| 18 | $this->mergeConfigFrom(__DIR__.'/config.php', 'laker'); |
||
| 19 | |||
| 20 | $this->publishes([ |
||
| 21 | __DIR__.'/config.php' => config_path('laker.php'), |
||
| 22 | ]); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Register bindings in the container. |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function register() |
||
| 31 | { |
||
| 32 | $this->setUpBitbucketIssueTracker(); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Set up the Bitbucket issue tracker service. |
||
| 37 | * |
||
| 38 | * @return void |
||
| 39 | */ |
||
| 40 | private function setUpBitbucketIssueTracker() |
||
| 55 | } |
||
| 56 |