protected function getOrderBys($order)
    {
        $separatedOrders = [$order];

        if ($this->isMultiOrderQuery($order)) {
            $separatedOrders = explode(',', $order);
        }

        return $separatedOrders;
    }
protected function getOrderBys($order)
    {
        $separatedOrders = [$order];

        if ($this->isMultiOrderQuery($order)) {
            $separatedOrders = explode(',', $order);
        }

        return $separatedOrders;
    }
protected function getOrderBys ( $ order ) { $ separatedOrders = [ $ order ] ; if ( $ this -> isMultiOrderQuery ( $ order ) ) { $ separatedOrders = explode ( ',' , $ order ) ; } return $ separatedOrders ; }
Get the ORDER BY parameters for the query.

@param $order

@return array
Get the ORDER BY parameters for the query .