renamed to parseParameters() as this method will parse, not just check all
authorRoland Häder <roland@mxchange.org>
Mon, 8 May 2017 18:33:29 +0000 (20:33 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 8 May 2017 18:33:29 +0000 (20:33 +0200)
parameters, including $_GET, $_POST and $_COOKIE/$_SESSION

Signed-off-by: Roland Häder <roland@mxchange.org>
framework/bootstrap/class_FrameworkBootstrap.php
index.php

index 7ee612bd067b7585eb0e3a107253bbccd320cf45..460c984d6e7107dc5011a8a086b18c7ffe0db7c3 100644 (file)
@@ -52,7 +52,7 @@ final class FrameworkBootstrap {
        }
 
        /**
-        * Checks all parameters, like $_GET, $_POST, $_COOKIE and also "emulated"
+        * Parses all parameters, like $_GET, $_POST, $_COOKIE and also "emulated"
         * from command-line. Accepted CLI parameters are in following forms:
         *
         * --foo=bar - parameter 'foo' gets value "bar" (string)
@@ -63,7 +63,7 @@ final class FrameworkBootstrap {
         *
         * app=tests - launches application 'tests' (parameter 'app' gets string value "tests")
         */
-       public static function checkParameters () {
+       public static function parseParameters () {
        }
 
 }
index c0671792f6534f571bac0bfcdd99cb5e8c8f028b..3cca6d52f2f0ac6a4f0dac63d963a25bf24d2e23 100644 (file)
--- a/index.php
+++ b/index.php
@@ -261,10 +261,10 @@ final class ApplicationEntryPoint {
                require self::detectFrameworkPath() . 'bootstrap/bootstrap.inc.php';
 
                /*
-                * Initial bootstrap is done, continue with checking parameters and
+                * Initial bootstrap is done, continue with parsing parameters and
                 * look for 'app'.
                 */
-               FrameworkBootstrap::checkParameters();
+               FrameworkBootstrap::parseParameters();
        }
 }