]> git.mxchange.org Git - core.git/blobdiff - inc/config/class_FrameworkConfiguration.php
Method convertToClassName() and convertDashesToUnderscores() are now static as
[core.git] / inc / config / class_FrameworkConfiguration.php
index d6ff28a24da1226428e14824e42cf8e6ccfb462d..5a206d5c5572af41f1aea0bf9808925eab837ff5 100644 (file)
@@ -153,7 +153,7 @@ class FrameworkConfiguration implements Registerable {
         */
        public function getConfigEntry ($configKey) {
                // Convert dashes to underscore
         */
        public function getConfigEntry ($configKey) {
                // Convert dashes to underscore
-               $configKey = $this->convertDashesToUnderscores($configKey);
+               $configKey = self::convertDashesToUnderscores($configKey);
 
                // Is a valid configuration key provided?
                if (empty($configKey)) {
 
                // Is a valid configuration key provided?
                if (empty($configKey)) {
@@ -179,7 +179,7 @@ class FrameworkConfiguration implements Registerable {
         */
        public final function setConfigEntry ($configKey, $configValue) {
                // Cast to string
         */
        public final function setConfigEntry ($configKey, $configValue) {
                // Cast to string
-               $configKey = $this->convertDashesToUnderscores($configKey);
+               $configKey = self::convertDashesToUnderscores($configKey);
 
                // Is a valid configuration key key provided?
                if ((empty($configKey)) || (!is_string($configKey))) {
 
                // Is a valid configuration key key provided?
                if ((empty($configKey)) || (!is_string($configKey))) {
@@ -208,7 +208,7 @@ class FrameworkConfiguration implements Registerable {
         */
        public final function unsetConfigEntry ($configKey) {
                // Convert dashes to underscore
         */
        public final function unsetConfigEntry ($configKey) {
                // Convert dashes to underscore
-               $configKey = $this->convertDashesToUnderscores($configKey);
+               $configKey = self::convertDashesToUnderscores($configKey);
 
                // Is the configuration key there?
                if (!$this->isConfigurationEntrySet($configKey)) {
 
                // Is the configuration key there?
                if (!$this->isConfigurationEntrySet($configKey)) {