/**
  * Constructor.
  *
  * @param QueryBuilder $qb                The query builder being manipulated.
  * @param bool         $allowStarOperator Whether to allow the star operator or not (ie: implicit support of unknown operators).
  */
 public function __construct(QueryBuilder $qb, $allowStarOperator = true)
 {
     parent::__construct($allowStarOperator);
     $this->qb = $qb;
     $this->joinMap = $this->analizeJoinedTables();
     $this->knownAliases = array_flip($qb->getRootAliases()) + array_flip($this->joinMap);
 }
 /**
  * Constructor.
  *
  * @param QueryBuilder $qb                The query builder being manipulated.
  * @param bool         $allowStarOperator Whether to allow the star operator or not (ie: implicit support of unknown operators).
  */
 public function __construct(QueryBuilder $qb, $allowStarOperator = true)
 {
     parent::__construct($allowStarOperator);
     $this->qb = $qb;
 }