Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
2 / 2
CRAP
100.00% covered (success)
100.00%
4 / 4
TrackerProvider
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
2 / 2
2
100.00% covered (success)
100.00%
4 / 4
 boot
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
 register
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
1<?php
2namespace Qmp\Laravel\Tracker\Providers;
3
4use Illuminate\Support\ServiceProvider;
5use Illuminate\Support\Str;
6use Qmp\Laravel\MicroService\DbConnection\DbConnection;
7use Qmp\Laravel\Tracker\Console\Commands\TrackerSync;
8
9class TrackerProvider extends ServiceProvider
10{
11    /**
12     * Boot the service provider.
13     *
14     * @return void
15     */
16    public function boot()
17    {
18        $this->loadMigrationsFrom(__DIR__.'/../database/migrations/');        
19    }
20
21    public function register()
22    {
23        DbConnection::mergeFromFile(realpath(__DIR__.'/../../config/connection.php'));
24
25    }
26}