| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1.0527 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | 15 | public function register(): void |
|
| 25 | { |
||
| 26 | $this->app->singleton('cache', static function ($app) { |
||
| 27 | return new CacheManager($app); |
||
| 28 | 15 | }); |
|
| 29 | |||
| 30 | $this->app->singleton('cache.store', static function ($app) { |
||
| 31 | return $app['cache']->driver(); |
||
| 32 | 15 | }); |
|
| 33 | |||
| 34 | $this->app->singleton('memcached.connector', static function () { |
||
| 35 | return new MemcachedConnector(); |
||
| 36 | 15 | }); |
|
| 37 | 15 | } |
|
| 38 | |||
| 53 |