1 | <?php |
||
27 | class ViewInfoCache { |
||
28 | |||
29 | /** @var array */ |
||
30 | protected $cachePath; |
||
31 | /** @var array */ |
||
32 | protected $cacheId; |
||
33 | |||
34 | /** @var \OC\Files\View */ |
||
35 | protected $view; |
||
36 | |||
37 | /** |
||
38 | * @param View $view |
||
39 | */ |
||
40 | 28 | public function __construct(View $view) { |
|
43 | |||
44 | /** |
||
45 | * @param string $user |
||
46 | * @param string $path |
||
47 | * @return array |
||
48 | */ |
||
49 | 8 | public function getInfoByPath($user, $path) { |
|
56 | |||
57 | /** |
||
58 | * @param string $user |
||
59 | * @param int $fileId |
||
60 | * @param string $path |
||
61 | * @return array |
||
62 | */ |
||
63 | 5 | public function getInfoById($user, $fileId, $path) { |
|
64 | 5 | if (isset($this->cacheId[$user][$fileId])) { |
|
65 | 2 | $cache = $this->cacheId[$user][$fileId]; |
|
66 | 2 | if ($cache['path'] === null) { |
|
67 | 1 | $cache['path'] = $path; |
|
68 | } |
||
69 | 2 | return $cache; |
|
70 | } |
||
71 | |||
72 | 3 | return $this->findInfoById($user, $fileId, $path); |
|
73 | } |
||
74 | |||
75 | /** |
||
76 | * @param string $user |
||
77 | * @param string $path |
||
78 | * @return array |
||
79 | */ |
||
80 | 7 | protected function findInfoByPath($user, $path) { |
|
94 | |||
95 | /** |
||
96 | * @param string $user |
||
97 | * @param int $fileId |
||
98 | * @param string $filePath |
||
99 | * @return array |
||
100 | */ |
||
101 | 5 | protected function findInfoById($user, $fileId, $filePath) { |
|
144 | } |
||
145 |
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.