src/Search.php
public function addSuggest(NamedBuilderInterface $suggest)
    {
        $this->getEndpoint(SuggestEndpoint::NAME)->add($suggest, $suggest->getName());

        return $this;
    }
public function addSuggest(NamedBuilderInterface $suggest)
    {
        $this->getEndpoint(SuggestEndpoint::NAME)->add($suggest, $suggest->getName());

        return $this;
    }
public function addSuggest ( NamedBuilderInterface $ suggest ) { $ this -> getEndpoint ( SuggestEndpoint :: NAME ) -> add ( $ suggest , $ suggest -> getName ( ) ) ; return $ this ; }
Adds suggest into search.

@param BuilderInterface $suggest

@return $this
Adds suggest into search .