| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | trait CacheAdapterTrait |
||
| 14 | { |
||
| 15 | |||
| 16 | /** @var CacheAdapterInterface $cacheAdapter */ |
||
| 17 | protected $cacheAdapter; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return CacheAdapterInterface |
||
| 21 | */ |
||
| 22 | public function getCacheAdapter(): CacheAdapterInterface |
||
| 23 | { |
||
| 24 | return $this->cacheAdapter; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param CacheAdapterInterface $cacheAdapter |
||
| 29 | */ |
||
| 30 | public function setCacheAdapter(CacheAdapterInterface $cacheAdapter): void |
||
| 33 | } |
||
| 34 | } |
||
| 35 |