src/Utility/BasicSearch.php
protected function getFieldValue(string $field, string $value): array
    {
        return [
            'type' => $this->searchFields[$field]['type'],
            'operator' => key($this->searchFields[$field]['operators']),
            'value' => $value
        ];
    }
protected function getFieldValue(string $field, string $value): array
    {
        return [
            'type' => $this->searchFields[$field]['type'],
            'operator' => key($this->searchFields[$field]['operators']),
            'value' => $value
        ];
    }
protected function getFieldValue ( string $ field , string $ value ) : array { return [ 'type' => $ this -> searchFields [ $ field ] [ 'type' ] , 'operator' => key ( $ this -> searchFields [ $ field ] [ 'operators' ] ) , 'value' => $ value ] ; }
Field value getter for basic search criteria.

@param string $field Field name
@param string $value Search query value
@return mixed[]
Field value getter for basic search criteria .