- // Do things before adding city
- $managerInstance->doPreAddCity();
-
- // Add new city
- $managerInstance->addNewCity();
+ // Is there already a city the user has founded?
+ if ($managerInstance->isCityAlreadyFounded()) {
+ // Found 2nd,3rd,... city
+ $managerInstance->foundNewCity();
+ } else {
+ // Found first city
+ $managerInstance->foundFirstCity();
+ }