ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\RangeFilter::getFilterDescription PHP Method

getFilterDescription() protected method

Gets filter description.
protected getFilterDescription ( string $fieldName, string $operator ) : array
$fieldName string
$operator string
return array
    protected function getFilterDescription(string $fieldName, string $operator) : array
    {
        return [sprintf('%s[%s]', $fieldName, $operator) => ['property' => $fieldName, 'type' => 'string', 'required' => false]];
    }