src/Factory/FilterFactory.php
public function getFilter($property, $value)
    {
        foreach ($this->definitions as $key => $definition) {
            if (preg_match($key, $property, $matches)) {
                $expected = is_string($value) ? $this->valueFactory->parseValue($value) : $value;
                return call_user_func($definition, $matches[1], $expected);
            }
        }

        throw new UnknownPropertyDefinitionException($property);
    }
public function getFilter($property, $value)
    {
        foreach ($this->definitions as $key => $definition) {
            if (preg_match($key, $property, $matches)) {
                $expected = is_string($value) ? $this->valueFactory->parseValue($value) : $value;
                return call_user_func($definition, $matches[1], $expected);
            }
        }

        throw new UnknownPropertyDefinitionException($property);
    }
@param string $property
@param mixed  $value

@return ArrayFilterInterface
@throws UnknownPropertyDefinitionException