public function completion($name, $text, $field = 'suggest', $parameters = [])
    {
        $suggestion = new Suggest($name, 'completion', $text, $field, $parameters);

        $this->append($suggestion);

        return $this;
    }
public function completion($name, $text, $field = 'suggest', $parameters = [])
    {
        $suggestion = new Suggest($name, 'completion', $text, $field, $parameters);

        $this->append($suggestion);

        return $this;
    }
public function completion ( $ name , $ text , $ field = 'suggest' , $ parameters = [ ] ) { $ suggestion = new Suggest ( $ name , 'completion' , $ text , $ field , $ parameters ) ; $ this -> append ( $ suggestion ) ; return $ this ; }
Add a completion suggestion.

@param $name
@param $text
@param $field
@param array $parameters

@return $this

@internal param $fields
Add a completion suggestion .