| 123456789101112131415161718192021 |
- <?php
- namespace WeWork\Traits;
- use Psr\SimpleCache\CacheInterface;
- trait CacheTrait
- {
- /**
- * @var CacheInterface
- */
- protected $cache;
- /**
- * @param CacheInterface $cache
- */
- public function setCache(CacheInterface $cache): void
- {
- $this->cache = $cache;
- }
- }
|