Doctrine\Search\Query::setHydrationMode PHP Method

setHydrationMode() public method

Set the hydration mode from the underlying query modes or bypass and return search result directly from the client
public setHydrationMode ( integer $mode )
$mode integer
    public function setHydrationMode($mode)
    {
        $this->hydrationMode = $mode;
        return $this;
    }