/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $tag = tag::all(); return $this->respond(['data' => $this->tagTransformer->transformCollection($tag->all())]); }