]> git.mxchange.org Git - core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 10 Jul 2022 11:12:39 +0000 (13:12 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 10 Jul 2022 11:12:39 +0000 (13:12 +0200)
- old-lost method BaseFrameworkSystem::replaceControlCharacters() removed

framework/config/class_FrameworkConfiguration.php
framework/main/classes/class_BaseFrameworkSystem.php

index 8412dcaabd0ec0f1f521a3793a6430a138d0f436..d5d400d0699bb55a665199e6752129fd6867f172 100644 (file)
@@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Utils\Strings\StringUtils;
 use \InvalidArgumentException;
 
 /**
- * A class for the configuration stuff implemented in a singleton design paddern
+ * A class for the configuration stuff implemented in a singleton design pattern
  *
  * NOTE: We cannot put this in framework/main/ because it would be loaded (again) in
  * class loader. See framework/loader/class_ClassLoader.php for instance
index 18c13c090ed8e8e24cf85109c011939caa238a0b..35add654821bbb2f338327e73b391eb7b319a417 100644 (file)
@@ -543,25 +543,6 @@ Loaded includes:
                ));
        }
 
-       /**
-        * Replaces control characters with printable output
-        *
-        * @param       $str    String with control characters
-        * @return      $str    Replaced string
-        */
-       protected function replaceControlCharacters (string $str) {
-               // Replace them
-               $str = str_replace(
-                       chr(13), '[r]', str_replace(
-                       chr(10), '[n]', str_replace(
-                       chr(9) , '[t]',
-                       $str
-               )));
-
-               // Return it
-               return $str;
-       }
-
        /**
         * Output a partial stub message for the caller method
         *