Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
33.33% |
1 / 3 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
AppServiceProvider | |
33.33% |
1 / 3 |
|
0.00% |
0 / 1 |
5.67 | |
0.00% |
0 / 1 |
register | |
33.33% |
1 / 3 |
|
0.00% |
0 / 1 |
3.19 | |||
boot | n/a |
0 / 0 |
n/a |
0 / 0 |
1 |
1 | <?php |
2 | |
3 | namespace App\Providers; |
4 | |
5 | use Illuminate\Support\ServiceProvider; |
6 | |
7 | class AppServiceProvider extends ServiceProvider |
8 | { |
9 | /** |
10 | * Register any application services. |
11 | * |
12 | * @return void |
13 | */ |
14 | public function register() |
15 | { |
16 | if ($this->app->environment('local')) { |
17 | $this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class); |
18 | $this->app->register(TelescopeServiceProvider::class); |
19 | } |
20 | } |
21 | |
22 | /** |
23 | * Bootstrap any application services. |
24 | * |
25 | * @return void |
26 | */ |
27 | public function boot() |
28 | { |
29 | // |
30 | } |
31 | } |