| Total Complexity | 3 | 
| Total Lines | 27 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 22 | trait CacheAwareTrait  | 
            ||
| 23 | { | 
            ||
| 24 | /**  | 
            ||
| 25 | * @var CacheInterface  | 
            ||
| 26 | */  | 
            ||
| 27 | protected $cache;  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * @param CacheInterface $cache  | 
            ||
| 31 | * @return $this  | 
            ||
| 32 | */  | 
            ||
| 33 | public function setCache(CacheInterface $cache)  | 
            ||
| 37 | }  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * @return CacheInterface  | 
            ||
| 41 | * @throw LogicException  | 
            ||
| 42 | */  | 
            ||
| 43 | public function getCache(): CacheInterface  | 
            ||
| 49 | }  | 
            ||
| 50 | }  |