]> git.mxchange.org Git - city.git/blobdiff - application/city/classes/factories/states/city/class_CityStateFactory.php
Next wave:
[city.git] / application / city / classes / factories / states / city / class_CityStateFactory.php
index 8332257fadb847d408a7865755a7b76f04b6a7a8..fd760976decc811128c1caa28d24e149231c2c48 100644 (file)
@@ -1,10 +1,19 @@
 <?php
+// Own namespace
+namespace Org\Mxchange\City\Factory\State;
+
+// Import own stuff
+use Org\Mxchange\City\Daemon\Factory\CityDaemonFactory;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for city states
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015 City Developer Team
+ * @copyright  Copyright (c) 2015, 2016 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -50,7 +59,7 @@ class CityStateFactory extends ObjectFactory {
                $cityInstance = CityDaemonFactory::createCityDaemonInstance();
 
                // Debug message
-               self::createDebugInstance(__CLASS__)->debugOutput('CITY-STATE-FACTORY[' . __METHOD__ . ':' . __LINE__ . ']: City state has changed from ' . $cityInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.');
+               self::createDebugInstance(__CLASS__)->debugOutput('CITY-STATE-FACTORY[' . __METHOD__ . ':' . __LINE__ . ']: City daemon state has changed from ' . $cityInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.');
 
                // Once we have that state, set it in the city instance
                $cityInstance->setStateInstance($stateInstance);
@@ -62,6 +71,3 @@ class CityStateFactory extends ObjectFactory {
                return $stateInstance;
        }
 }
-
-// [EOF]
-?>