From: Roland Haeder Date: Sun, 20 Sep 2015 17:52:39 +0000 (+0200) Subject: This method is already implemented. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=506df2a134d779bf384434de4b021bae675cc003;p=city.git This method is already implemented. Signed-off-by: Roland Haeder --- diff --git a/application/city/classes/class_BaseCitySystem.php b/application/city/classes/class_BaseCitySystem.php index f52a55a..3dd7410 100644 --- a/application/city/classes/class_BaseCitySystem.php +++ b/application/city/classes/class_BaseCitySystem.php @@ -63,28 +63,6 @@ class BaseCitySystem extends BaseFrameworkSystem { protected final function setCityInstance (CityHelper $cityInstance) { $this->cityInstance = $cityInstance; } - - /** - * "Getter" for a printable state name - * - * @return $stateName Name of the city's state in a printable format - */ - public final function getPrintableState () { - // Default is 'null' - $stateName = 'null'; - - // Get the state instance - $stateInstance = $this->getStateInstance(); - - // Is it an instance of Stateable? - if ($stateInstance instanceof Stateable) { - // Then use that state name - $stateName = $stateInstance->getStateName(); - } // END - if - - // Return result - return $stateName; - } } // [EOF]