public function getJoins() { return $this->joins; }
/** * @return array */ public function getAllOrderBy() { $order = $this->orderBy; foreach ($this->joinQuery->getJoins() as $join) { $order = array_merge($order, $join->getAllOrderBy()); } return $order; }