private function getBuilder($query)
    {
        $queryType = $query->getType();

        if (!isset($this->builders[$queryType])) {
            throw new \InvalidArgumentException("Unknow query builder for {$queryType}.");
        }

        return $this->builders[$queryType];
    }
private function getBuilder($query)
    {
        $queryType = $query->getType();

        if (!isset($this->builders[$queryType])) {
            throw new \InvalidArgumentException("Unknow query builder for {$queryType}.");
        }

        return $this->builders[$queryType];
    }
private function getBuilder ( $ query ) { $ queryType = $ query -> getType ( ) ; if ( ! isset ( $ this -> builders [ $ queryType ] ) ) { throw new \ InvalidArgumentException ( "Unknow query builder for {$queryType}." ) ; } return $ this -> builders [ $ queryType ] ; }
Retrieve the builder used to build a query.

@param QueryInterface $query Query to be built.

@return BuilderInterface
Retrieve the builder used to build a query .