| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class ServiceProvider extends Provider implements DeferrableProvider |
||
| 20 | { |
||
| 21 | public function register() |
||
| 30 | } |
||
| 31 | |||
| 32 | public function boot() |
||
| 33 | { |
||
| 34 | if (!file_exists(config_path('amqp.php'))) { |
||
| 35 | $this->publishes([ |
||
| 36 | dirname(__DIR__) . '/../config/amqp.php' => config_path('amqp.php'), |
||
| 37 | ], 'config'); |
||
| 38 | } |
||
| 39 | } |
||
| 40 | |||
| 41 | public function provides() |
||
| 44 | } |
||
| 45 | } |