| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | 51 | public function register() |
|
| 44 | { |
||
| 45 | // Automatically apply the package configuration |
||
| 46 | 51 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'ab-testing'); |
|
| 47 | |||
| 48 | // Register the main class to use with the facade |
||
| 49 | $this->app->singleton('ab-testing', function () { |
||
| 50 | 51 | return new AbTesting; |
|
| 51 | 51 | }); |
|
| 52 | 51 | } |
|
| 53 | } |
||
| 54 |