Lines Matching refs:value

91                 'Unexpected value at end of the filter: %s',
197 $value = substr(
210 return [$endAt, $this->getComparisonFilterObject((string) $filterType, $attribute, $value)];
268 'Expected a value after "%s" at position %s, but got none.',
278 * @param string $value
283 protected function getComparisonFilterObject(string $operator, string $attribute, string $value): FilterInterface
286 return Filters::lessThanOrEqual($attribute, $this->unescapeValue($value));
288 return Filters::greaterThanOrEqual($attribute, $this->unescapeValue($value));
290 return Filters::approximate($attribute, $this->unescapeValue($value));
292 return $this->getMatchingRuleFilterObject($attribute, $this->unescapeValue($value));
295 if ($value === '*') {
299 if (preg_match('/\*/', $value) !== 0) {
300 return $this->getSubstringFilterObject($attribute, $value);
302 return Filters::equal($attribute, $this->unescapeValue($value));
308 * @param string $value
312 protected function getMatchingRuleFilterObject(string $attribute, string $value): MatchingRuleFilter
317 $matchRuleObj = new MatchingRuleFilter(null, null, $value);
344 * @param string $value
348 protected function getSubstringFilterObject(string $attribute, string $value): SubstringFilter
351 $substrings = preg_split('/\*/', $value, -1, PREG_SPLIT_OFFSET_CAPTURE | PREG_SPLIT_NO_EMPTY);
366 } elseif (($substringType + strlen($substringValue)) === strlen($value)) {
395 'The value after the "not" filter value was unexpected: %s',
469 * @param string $value
472 protected function unescapeValue(string $value)
476 }, $value);
506 'Unexpected value after "%s" at position %s: %s',