$operatorValidator =
new QueryOperatorValidator();
} return new self($conn,
$config,
$operatorValidator);
} /**
* @return DBALQueryBuilder
*/
public function getDBALQueryBuilder() { return new DBALQueryBuilder($this->
getConnection());
} /**
* Serialize an entity or an array of entities to an array
*
* @param Traversable|array|ModelEntity $entity
*
* @return array
*/
public function toArray($entity) {