Filter to transform a string to all Preg.
Filter to transform a string to all Preg.
__construct($regexp, $replace) ¶Constructor.
$regexpThe regular expression. This is the first argument to preg_replace.
$replaceThe replacement value. This is the second argument to preg_replace.
filter($value) ¶Applies the PregFilter to the passed value.
$valueThe value to filter.
The string filtered through preg_replace.
AnewtContainer::_to_array()AnewtContainer::_add()AnewtContainer::delete()AnewtContainer::get()AnewtContainer::_isset()AnewtContainer::_seed()AnewtContainer::setdefault()AnewtContainer::getdefault()AnewtContainer::set()AnewtContainer::__isset()AnewtContainer::__set()AnewtContainer::__construct()AnewtContainer::is_set()AnewtContainer::add()AnewtContainer::_getdefault()AnewtContainer::__unset()AnewtContainer::seed()AnewtContainer::to_array()AnewtContainer::_get()AnewtContainer::__get()AnewtContainer::keys()AnewtContainer::clear()AnewtContainer::_keys()AnewtContainer::_set()Filter::init()