/** * @return array */ public function getAllOrderBy() { $order = $this->orderBy; foreach ($this->joinQuery->getJoins() as $join) { $order = array_merge($order, $join->getAllOrderBy()); } return $order; }
/** * @return array */ public function getAllColumns() { $columns = $this->getColumns(); foreach ($this->joinQuery->getJoins() as $join) { $joinCols = $join->getAllColumns(); $columns = \array_merge($columns, $joinCols); } return $columns; }
/** * @param string|null $joinType * * @return $this */ public function setJoinType($joinType) { $this->joinQuery->setJoinType($joinType); return $this; }