Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 8 Jul 2018 07:00:53 +0000 (09:00 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 8 Jul 2018 07:00:53 +0000 (09:00 +0200)
- better keep logic that is around such regular expressions in a nice utilities
  class

Signed-off-by: Roland Häder <roland@mxchange.org>
framework/main/classes/class_BaseFrameworkSystem.php

index 18a2c2c9526e116247c760fa03d5a541bf77b8af..2dd3dba65a46a48ca6131702a65c5527c419585e 100644 (file)
@@ -272,11 +272,6 @@ abstract class BaseFrameworkSystem extends stdClass implements FrameworkInterfac
         */
        private $socketResource = false;
 
         */
        private $socketResource = false;
 
-       /**
-        * Regular expression to use for validation
-        */
-       private $regularExpression = '';
-
        /**
         * Package data
         */
        /**
         * Package data
         */
@@ -1146,27 +1141,6 @@ abstract class BaseFrameworkSystem extends stdClass implements FrameworkInterfac
                return $this->socketResource;
        }
 
                return $this->socketResource;
        }
 
-       /**
-        * Setter for regular expression
-        *
-        * @param       $regularExpression      A valid regular expression
-        * @return      void
-        */
-       public final function setRegularExpression ($regularExpression) {
-               //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput($this->__toString() . '::' . __FUNCTION__ . ': regularExpression=' . $regularExpression . ',previous[' . gettype($this->regularExpression) . ']=' . $this->regularExpression);
-               $this->regularExpression = $regularExpression;
-       }
-
-       /**
-        * Getter for regular expression
-        *
-        * @return      $regularExpression      A valid regular expression
-        */
-       public final function getRegularExpression () {
-               //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput($this->__toString() . '::' . __FUNCTION__ . ': regularExpression[' . gettype($this->regularExpression) . ']=' . $this->regularExpression);
-               return $this->regularExpression;
-       }
-
        /**
         * Setter for helper instance
         *
        /**
         * Setter for helper instance
         *