/** * Get the performance indicators for the application. * * @return Response */ public function all() { return response()->json(['indicators' => $this->indicators->all(60), 'last_month' => $this->indicators->forDate(Carbon::today()->subMonths(1)), 'last_year' => $this->indicators->forDate(Carbon::today()->subYears(1))]); }