get("user_id"); if ($params->exists(["name", "start_date"]) == false) { respondStatus(400, "Missing parameter"); } addProject($user_id, $params); respondStatus(200); } } $branch = new AddProjectBranch(); $branch->execute();