]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/middleware/class_BaseMiddleware.php
Method constructor() removed, several small fixes
[shipsimu.git] / inc / classes / middleware / class_BaseMiddleware.php
index 88bc16e12b65998ffe7b62f743e9e1472cc6da75..9b576dda6702e5ed9a1d2f3041fb47eeea4d9a67 100644 (file)
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class BaseMiddleware extends BaseFrameworkSystem {
        /**
-        * Private constructor
+        * Protected constructor
         *
         * @return      void
         */
-       private function __construct ($class) {
+       protected function __construct ($class) {
                // Call parent constructor
-               parent::constructor($class);
+               parent::__construct($class);
 
                // Clean up a little
                $this->removeNumberFormaters();
        }
-
-       /**
-        * Public constructor
-        *
-        * @return      void
-        */
-       public function constructor ($class) {
-               // Just call the private constructor
-               $this->__construct($class);
-       }
 }
 
 // [EOF]