$this->collection]; } /** * Get additional data that should be returned with the resource array. * * @param \Illuminate\Http\Request $request * @return array */ public function with($request) { return [ 'actions' => $this->actions(), ]; } private function actions() { $arr = []; return $arr; } }