public function createEvent(string $eventName, string $eventDescription, int $location) { $session = CustomSession::getInstance(); $creator = $session->getCurrentUser(); $userID = $creator['id_person']; $model = new EventModel(); $model->createEvent($userID, $eventName, $eventDescription, $location); }