]> git.mxchange.org Git - city.git/blobdiff - application/city/classes/tasks/class_BaseCityTask.php
Continued:
[city.git] / application / city / classes / tasks / class_BaseCityTask.php
index 1be4e51212350f94736d77b57b56512156b272cd..46136e1e9f021c0017104efbaf939a248b183ebc 100644 (file)
@@ -1,10 +1,19 @@
 <?php
+// Own namespace
+namespace Org\Mxchange\City\Task;
+
+// Import application-specific stuff
+use Org\Mxchange\City\Helper\CityHelper;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Task\BaseTask;
+
 /**
  * A general CityTask class
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2015 City Developer Team
+ * @copyright  Copyright (c) 2015 - 2023 City Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -21,7 +30,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class BaseCityTask extends BaseTask {
+abstract class BaseCityTask extends BaseTask {
        /**
         * An instance of a city
         */
@@ -33,7 +42,7 @@ class BaseCityTask extends BaseTask {
         * @param       $className      Name of the class
         * @return      void
         */
-       protected function __construct ($className) {
+       protected function __construct (string $className) {
                // Call parent constructor
                parent::__construct($className);
        }
@@ -57,6 +66,3 @@ class BaseCityTask extends BaseTask {
                $this->cityInstance = $cityInstance;
        }
 }
-
-// [EOF]
-?>