// Make sure the instance is valid
assert($managerInstance instanceof ManageableCity);
- // First set request and response instance
- $managerInstance->setRequestInstance($requestInstance);
- $managerInstance->setResponseInstance($responseInstance);
-
// Is there already a city the user has founded?
if ($managerInstance->isCityAlreadyFounded()) {
// Found 2nd,3rd,... city