| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ClassBoundCacheContract implements ClassBoundCacheContractInterface |
||
| 10 | { |
||
| 11 | /** @var ClassBoundCacheInterface */ |
||
| 12 | private $classBoundCache; |
||
| 13 | |||
| 14 | public function __construct(ClassBoundCacheInterface $classBoundCache) |
||
| 15 | { |
||
| 16 | $this->classBoundCache = $classBoundCache; |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $key An optional key to differentiate between cache items attached to the same class. |
||
| 21 | * |
||
| 22 | * @return mixed |
||
| 23 | */ |
||
| 24 | public function get(ReflectionClass $reflectionClass, callable $resolver, string $key = '') |
||
| 37 | } |
||
| 38 | } |
||
| 39 |