public function exclude(DataQuery $query) { if (!is_array($this->getValue())) { $values = explode(',', $this->getValue()); } else { $values = $this->getValue(); } $filter = new StartsWithFilter($this->getFullName(), $values, $this->getModifiers()); return $filter->exclude($query); }
function __construct($fullName, $value = false, array $modifiers = array()) { Deprecation::notice('4.0', 'Use StartsWithFilter instead.'); parent::__construct($fullName, $value, $modifiers); }