Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
24 | class CacheLocator implements LocatorInterface |
||
25 | { |
||
26 | /** |
||
27 | * Saves a proxy list in the cache and invalidates it by demand |
||
28 | * |
||
29 | * @var CacherInterface |
||
30 | */ |
||
31 | private $proxyCacher; |
||
32 | |||
33 | /** |
||
34 | * CacheLocator constructor. |
||
35 | * |
||
36 | * @param CacherInterface $proxyCacher Saves a proxy list in the cache and invalidates it by demand |
||
37 | */ |
||
38 | public function __construct(CacherInterface $proxyCacher) |
||
39 | { |
||
40 | $this->proxyCacher = $proxyCacher; |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function locate(): iterable |
||
51 | } |
||
52 | } |
||
53 |