From: Roland Häder Date: Sat, 2 Feb 2019 02:07:45 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fed361c1586e757de03bb9fb831775c789620c95;p=city.git Continued: - renamed isMapPendingExpansion() to isSectionPendingExpansion() for city section managers Signed-off-by: Roland Häder --- diff --git a/application/city/classes/city_daemon/class_BaseCityDaemon.php b/application/city/classes/city_daemon/class_BaseCityDaemon.php index fc6fa2b..c19270f 100644 --- a/application/city/classes/city_daemon/class_BaseCityDaemon.php +++ b/application/city/classes/city_daemon/class_BaseCityDaemon.php @@ -267,7 +267,7 @@ abstract class BaseCityDaemon extends BaseCitySystem implements Updateable, Adda $sectionsInstance = ManagerFactory::createManagerByType('city_sections'); // Call it's method and return value - return $sectionsInstance->isMapPendingExpansion(); + return $sectionsInstance->isSectionPendingExpansion(); } /** diff --git a/application/city/classes/manager/city_entities/sections/class_CitySectionsManager.php b/application/city/classes/manager/city_entities/sections/class_CitySectionsManager.php index 2561dc1..9f74e31 100644 --- a/application/city/classes/manager/city_entities/sections/class_CitySectionsManager.php +++ b/application/city/classes/manager/city_entities/sections/class_CitySectionsManager.php @@ -60,12 +60,12 @@ class CitySectionsManager extends BaseFrameworkSystem implements ManageableCityS } /** - * Checks whether at least one map requires expansion + * Checks whether at least one city section requires expansion * - * @return $requiresExpansion Whether a map requires expansion + * @return $requiresExpansion Whether a section requires expansion * @todo 0% done */ - public function isMapPendingExpansion () { + public function isSectionPendingExpansion () { // Default is no expansion is needed $requireExpansion = FALSE; diff --git a/application/city/interfaces/manager/city_entities/sections/class_ManageableCitySections.php b/application/city/interfaces/manager/city_entities/sections/class_ManageableCitySections.php index 3b01e69..ad0d70b 100644 --- a/application/city/interfaces/manager/city_entities/sections/class_ManageableCitySections.php +++ b/application/city/interfaces/manager/city_entities/sections/class_ManageableCitySections.php @@ -29,11 +29,11 @@ use Org\Mxchange\City\Manager\Entities\ManageableCityEntities; */ interface ManageableCitySections extends ManageableCityEntities { /** - * Checks whether at least one map requires expansion + * Checks whether at least one city section requires expansion * - * @return $requiresExpansion Whether a map requires expansion + * @return $requiresExpansion Whether a section requires expansion */ - function isMapPendingExpansion (); + function isSectionPendingExpansion (); /** * Expands any map that requires expansion