1 | <?php |
||
19 | class ExpiryLock { |
||
20 | |||
21 | /** |
||
22 | * @var BagOStuff |
||
23 | */ |
||
24 | private $cache; |
||
25 | |||
26 | /** |
||
27 | * @param BagOStuff $cache |
||
28 | */ |
||
29 | public function __construct( BagOStuff $cache ) { |
||
32 | |||
33 | /** |
||
34 | * @param string $id of the lock |
||
35 | * |
||
36 | * @return string cache key |
||
37 | * |
||
38 | * @throws \Wikimedia\Assert\ParameterTypeException |
||
39 | */ |
||
40 | private function makeKey( $id ) { |
||
53 | |||
54 | /** |
||
55 | * @param string $id of the lock |
||
56 | * @param ConvertibleTimestamp $expiryTimestamp |
||
57 | * |
||
58 | * @return boolean success |
||
59 | * |
||
60 | * @throws \Wikimedia\Assert\ParameterTypeException |
||
61 | */ |
||
62 | public function lock( $id, ConvertibleTimestamp $expiryTimestamp ) { |
||
76 | |||
77 | /** |
||
78 | * @param string the converted $cacheId |
||
79 | * |
||
80 | * @return boolean representing if the Lock is Locked |
||
81 | * |
||
82 | * @throws \Wikimedia\Assert\ParameterTypeException |
||
83 | */ |
||
84 | private function isLockedInternal( $cacheId ) { |
||
103 | |||
104 | /** |
||
105 | * @param string $id of the lock |
||
106 | * |
||
107 | * @return boolean representing if the Lock is Locked |
||
108 | * |
||
109 | * @throws \Wikimedia\Assert\ParameterTypeException |
||
110 | */ |
||
111 | public function isLocked( $id ) { |
||
114 | |||
115 | } |
||
116 |
Scrutinizer analyzes your
composer.json
/composer.lock
file if available to determine the classes, and functions that are defined by your dependencies.It seems like the listed class was neither found in your dependencies, nor was it found in the analyzed files in your repository. If you are using some other form of dependency management, you might want to disable this analysis.