public function actionGeneratetour() { $tourRepository = new TourRepository(); $tourRepository->createNewTour(1); }