| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function boot() |
||
| 15 | { |
||
| 16 | $this->publishes([ |
||
| 17 | __DIR__ . '/../config/apidocs.php' => config_path('yaro.apidocs.php'), |
||
| 18 | ], 'config'); |
||
| 19 | |||
| 20 | $this->app['view']->addNamespace('apidocs', __DIR__ . '/../resources/views'); |
||
| 21 | |||
| 22 | $this->app->bind('command.apidocs:blueprint-create', BlueprintCreate::class); |
||
| 23 | $this->commands([ |
||
| 24 | 'command.apidocs:blueprint-create', |
||
| 25 | ]); |
||
| 26 | |||
| 27 | $this->addMiddlewareAlias('apidocs.auth.basic', BasicAuth::class); |
||
| 28 | } // end boot |
||
| 29 | |||
| 52 |