| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 50 | public function register() |
||
| 51 | { |
||
| 52 | // Automatically apply the package configuration |
||
| 53 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'calculator'); |
||
| 54 | |||
| 55 | // Register the main class to use with the facade |
||
| 56 | $this->app->singleton('calculator', function () { |
||
| 57 | return new Calculator; |
||
| 58 | }); |
||
| 61 |