/**
  * Constructs a new ezcQuerySubSelect object.
  *
  * The subSelect() method of the ezcQuery object creates an object of this
  * class, and passes itself as $outer parameter to this constructor.
  *
  * @param \eZ\Publish\Core\Persistence\Doctrine\AbstractDoctrineQuery $outer
  */
 public function __construct(AbstractDoctrineQuery $outer)
 {
     $this->outerQuery = $outer;
     parent::__construct($outer->connection);
 }