public function __construct(Connection $connection) { $this->connection = $connection; $this->expr = new DoctrineExpression($connection); }