| Conditions | 5 |
| Paths | 5 |
| Total Lines | 26 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function register() |
||
| 25 | { |
||
| 26 | // |
||
| 27 | // environment specific application initialization |
||
| 28 | // |
||
| 29 | switch( $this->app->environment() ) |
||
| 30 | { |
||
| 31 | // development env |
||
| 32 | case 'local': |
||
| 33 | if( $this->app->runningInConsole() ) |
||
| 34 | { |
||
| 35 | // Some dev tools to generate some code completion helpers (some fake php files) |
||
| 36 | $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class); |
||
| 37 | } |
||
| 38 | // A 'in browser' debug bar |
||
| 39 | $this->app->register(\Barryvdh\Debugbar\ServiceProvider::class); |
||
| 40 | break; |
||
| 41 | // testing env |
||
| 42 | case '': |
||
| 43 | break; |
||
| 44 | // production env |
||
| 45 | case '': |
||
| 46 | break; |
||
| 47 | } |
||
| 48 | |||
| 49 | } |
||
| 50 | } |
||
| 51 |