protected function setEngine()
    {
        if (null !== $this->engine) {
            $service = sprintf('logboard.%s', $this->engine);
            if ($this->container->has($service)) {
                $this->queryManager->setEngine($this->container->get($service));
            } else {
                throw new BadQueryHttpException(sprintf('The specified Logboard engine "%s" does not exist or is not configured correctly', $service));
            }
        }
    }
protected function setEngine()
    {
        if (null !== $this->engine) {
            $service = sprintf('logboard.%s', $this->engine);
            if ($this->container->has($service)) {
                $this->queryManager->setEngine($this->container->get($service));
            } else {
                throw new BadQueryHttpException(sprintf('The specified Logboard engine "%s" does not exist or is not configured correctly', $service));
            }
        }
    }
protected function setEngine ( ) { if ( null !== $ this -> engine ) { $ service = sprintf ( 'logboard.%s' , $ this -> engine ) ; if ( $ this -> container -> has ( $ service ) ) { $ this -> queryManager -> setEngine ( $ this -> container -> get ( $ service ) ) ; } else { throw new BadQueryHttpException ( sprintf ( 'The specified Logboard engine "%s" does not exist or is not configured correctly' , $ service ) ) ; } } }
Set the engine for queryManager

@throws BadQueryHttpException if The engine does not exist
Set the engine for queryManager