acarsRepo = $acarsRepo; $this->pirepRepo = $pirepRepo; } public function index(Request $request) { /*PirepResource::withoutWrapping(); return new PirepResource($this->pirepRepo->find($id));*/ } /** * Return the current ACARS map data in GeoJSON format * @param Request $request */ public function geojson(Request $request) { } }