| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1.0156 |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | 11 | public function register(): void |
|
| 32 | { |
||
| 33 | $this->app->singleton('cache', function ($app) { |
||
| 34 | 11 | return new CacheManager($app); |
|
| 35 | 11 | }); |
|
| 36 | |||
| 37 | $this->app->singleton('cache.store', function ($app) { |
||
| 38 | return $app['cache']->driver(); |
||
| 39 | 11 | }); |
|
| 40 | |||
| 41 | $this->app->singleton('memcached.connector', function () { |
||
| 42 | return new MemcachedConnector(); |
||
| 43 | 11 | }); |
|
| 44 | 11 | } |
|
| 45 | |||
| 60 |