versionSvc = $versionSvc; } /** * @return \Illuminate\Http\JsonResponse */ public function status() { return response()->json([ 'version' => $this->versionSvc->getCurrentVersion(true), 'php' => PHP_VERSION, ]); } }