]> git.mxchange.org Git - core.git/blobdiff - inc/main/classes/class_FrameworkArrayObject.php
Continued:
[core.git] / inc / main / classes / class_FrameworkArrayObject.php
index 1bf9446fdb65f191c323ddc58e0e9b519b6af003..a6fa8bea9e22e0c1a1bf5ab45333349be608f046 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace CoreFramework\Array;
+
+// Import SPL stuff
+use \ArrayObject;
+
 /**
  * Class for saving arrays as an object. We need this little extension for
  * some common methods used in whole application. Please see below if you
@@ -6,7 +12,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -33,7 +39,6 @@ class FrameworkArrayObject extends ArrayObject {
         * Public constructor for setting real class name
         *
         * @param       $className      Real class name
-        * @return      void
         */
        public function __construct ($className) {
                $this->realClass = (string) $className;
@@ -47,7 +52,5 @@ class FrameworkArrayObject extends ArrayObject {
        public function __toString () {
                return $this->realClass;
        }
-}
 
-// [EOF]
-?>
+}