| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | 2 | public function register() |
|
| 26 | { |
||
| 27 | 2 | $this->mergeConfigFrom(__DIR__.'/../config/zabbixgraph.php', 'zabbixgraph'); |
|
| 28 | |||
| 29 | 2 | $this->app->bind(ZabbixGraph::class, function () { |
|
| 30 | 2 | return new ZabbixGraph( |
|
| 31 | 2 | $this->app['config']['zabbixgraph.host'], |
|
| 32 | 2 | $this->app['config']['zabbixgraph.username'], |
|
| 33 | 2 | $this->app['config']['zabbixgraph.password'], |
|
| 34 | 2 | $this->app['config']['zabbixgraph.old_version'] |
|
| 35 | ); |
||
| 36 | 2 | }); |
|
| 37 | 2 | } |
|
| 38 | } |
||
| 39 |