From: Roland Häder Date: Sun, 8 Jul 2018 07:00:53 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=6bf60b1accb36abe10787a06fc4d663f0c78efa9 Continued: - better keep logic that is around such regular expressions in a nice utilities class Signed-off-by: Roland Häder --- diff --git a/framework/main/classes/class_BaseFrameworkSystem.php b/framework/main/classes/class_BaseFrameworkSystem.php index 18a2c2c9..2dd3dba6 100644 --- a/framework/main/classes/class_BaseFrameworkSystem.php +++ b/framework/main/classes/class_BaseFrameworkSystem.php @@ -272,11 +272,6 @@ abstract class BaseFrameworkSystem extends stdClass implements FrameworkInterfac */ private $socketResource = false; - /** - * Regular expression to use for validation - */ - private $regularExpression = ''; - /** * Package data */ @@ -1146,27 +1141,6 @@ abstract class BaseFrameworkSystem extends stdClass implements FrameworkInterfac 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 *