From 8ca6cc32b2c789a3149861159ad258f2cb9491e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 14:39:39 +0200 Subject: Adding upstream version 2.11.4. Signed-off-by: Daniel Baumann --- .../vendor/Zend/Filter/Word/Separator/Abstract.php | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 library/vendor/Zend/Filter/Word/Separator/Abstract.php (limited to 'library/vendor/Zend/Filter/Word/Separator') diff --git a/library/vendor/Zend/Filter/Word/Separator/Abstract.php b/library/vendor/Zend/Filter/Word/Separator/Abstract.php new file mode 100644 index 0000000..7a95034 --- /dev/null +++ b/library/vendor/Zend/Filter/Word/Separator/Abstract.php @@ -0,0 +1,74 @@ +setSeparator($separator); + } + + /** + * Sets a new seperator + * + * @param string $separator Seperator + * @return $this + */ + public function setSeparator($separator) + { + if ($separator == null) { + throw new Zend_Filter_Exception('"' . $separator . '" is not a valid separator.'); + } + $this->_separator = $separator; + return $this; + } + + /** + * Returns the actual set seperator + * + * @return string + */ + public function getSeparator() + { + return $this->_separator; + } + +} -- cgit v1.2.3