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