QueryOperatorValidator example

QueryOperatorValidator $operatorValidator = null
    ) {
        if (!$config->getMetadataDriverImpl()) {
            throw new MissingMappingDriverImplementation();
        }

        if ($eventManager !== null && $conn->getEventManager() !== $eventManager) {
            throw new MismatchedEventManager();
        }

        if ($operatorValidator === null) {
            $operatorValidator = new QueryOperatorValidator();
        }

        return new self($conn$config$operatorValidator);
    }

    /** * @return DBALQueryBuilder */
    public function getDBALQueryBuilder()
    {
        return new DBALQueryBuilder($this->getConnection());
    }
Home | Imprint | This part of the site doesn't use cookies.