1 | <?php |
||
22 | class CacheLockStorage implements LockStorageInterface |
||
23 | { |
||
24 | |||
25 | /** |
||
26 | * Avoid key collision with a key prefix. |
||
27 | */ |
||
28 | const KEY_PREFIX = 'php_task_lock__'; |
||
29 | |||
30 | /** |
||
31 | * @var CacheInterface |
||
32 | */ |
||
33 | protected $cache; |
||
34 | |||
35 | /** |
||
36 | * @param CacheInterface $cache |
||
37 | */ |
||
38 | public function __construct($cache) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function save($key, $ttl) |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function delete($key) |
||
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | public function exists($key) |
||
77 | |||
78 | } |
||
79 | |||
80 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.