protected function newField($name, array $options): FieldConfig
    {
        if (OrderField::isOrder($name)) {
            return new OrderField($name, $this, $options);
        }

        return new SearchField($name, $this, $options);
    }
protected function newField($name, array $options): FieldConfig
    {
        if (OrderField::isOrder($name)) {
            return new OrderField($name, $this, $options);
        }

        return new SearchField($name, $this, $options);
    }
protected function newField ( $ name , array $ options ) : FieldConfig { if ( OrderField :: isOrder ( $ name ) ) { return new OrderField ( $ name , $ this , $ options ) ; } return new SearchField ( $ name , $ this , $ options ) ; }
Creates a new SearchField instance.

Override this method if you want to customize the field class.
Creates a new SearchField instance .