Total Complexity | 3 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 40% |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class FilterServiceProvider extends ServiceProvider |
||
13 | { |
||
14 | /** |
||
15 | * Location of the configuration file in the package |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $config_file; |
||
20 | |||
21 | 1 | public function __construct($app) |
|
22 | { |
||
23 | 1 | parent::__construct($app); |
|
24 | |||
25 | 1 | $this->config_file = realpath(__DIR__ . '/config/browserfilter.php'); |
|
26 | 1 | } |
|
27 | |||
28 | /** |
||
29 | * Perform post-registration booting of services. |
||
30 | * |
||
31 | * @return void |
||
32 | */ |
||
33 | public function boot() |
||
39 | ] |
||
40 | ); |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * Register the service provider. |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | public function register() |
||
52 | } |
||
53 | } |
||
54 |