1 | <?php |
||
23 | class LocationController extends ApiController { |
||
24 | |||
25 | private $userId; |
||
26 | private $locationMapper; |
||
27 | private $deviceMapper; |
||
28 | |||
29 | public function __construct($appName, IRequest $request, LocationMapper $locationMapper, DeviceMapper $deviceMapper, $userId) { |
||
35 | |||
36 | /** |
||
37 | * @NoAdminRequired |
||
38 | * |
||
39 | * @param $lat int |
||
40 | * @param $lon int |
||
41 | * @param $timestamp string |
||
42 | * @param $hdop string |
||
43 | * @param $altitude int |
||
44 | * @param $speed int |
||
45 | * @param $hash string |
||
46 | * @return JSONResponse |
||
47 | */ |
||
48 | public function update($lat, $lon, $timestamp, $hdop, $altitude, $speed, $hash) { |
||
77 | |||
78 | /** |
||
79 | * @NoAdminRequired |
||
80 | * |
||
81 | * @param $name string |
||
82 | * @return JSONResponse |
||
83 | */ |
||
84 | public function addDevice($name){ |
||
97 | |||
98 | /** |
||
99 | * @NoAdminRequired |
||
100 | * |
||
101 | * @return JSONResponse |
||
102 | */ |
||
103 | public function loadDevices(){ |
||
107 | |||
108 | /** |
||
109 | * @NoAdminRequired |
||
110 | * |
||
111 | * @param $devices string comma separated list of device ids |
||
112 | * @param $from string |
||
113 | * @param $till string |
||
114 | * @param $limit int |
||
115 | * @return JSONResponse |
||
116 | */ |
||
117 | public function loadLocations($devices, $from, $till, $limit){ |
||
129 | |||
130 | /** |
||
131 | * @NoAdminRequired |
||
132 | * |
||
133 | * @param $deviceId string |
||
134 | * @return JSONResponse |
||
135 | */ |
||
136 | public function removeDevice($deviceId){ |
||
144 | |||
145 | } |
||
146 |
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.