protected function loadDepartureDaysOutIn(PriceXplorerExtremeSearchOptions $params)
    {
        if (!empty($params->departureDaysInbound)) {
            $this->departureDays[] = new DepartureDays(
                $params->departureDaysInbound,
                SelectionDetails::OPT_INBOUND_DEP_DAYS
            );
        }
        if (!empty($params->departureDaysOutbound)) {
            $this->departureDays[] = new DepartureDays(
                $params->departureDaysOutbound,
                SelectionDetails::OPT_OUTBOUND_DEP_DAYS
            );
        }
    }
protected function loadDepartureDaysOutIn(PriceXplorerExtremeSearchOptions $params)
    {
        if (!empty($params->departureDaysInbound)) {
            $this->departureDays[] = new DepartureDays(
                $params->departureDaysInbound,
                SelectionDetails::OPT_INBOUND_DEP_DAYS
            );
        }
        if (!empty($params->departureDaysOutbound)) {
            $this->departureDays[] = new DepartureDays(
                $params->departureDaysOutbound,
                SelectionDetails::OPT_OUTBOUND_DEP_DAYS
            );
        }
    }
protected function loadDepartureDaysOutIn ( PriceXplorerExtremeSearchOptions $ params ) { if ( ! empty ( $ params -> departureDaysInbound ) ) { $ this -> departureDays [ ] = new DepartureDays ( $ params -> departureDaysInbound , SelectionDetails :: OPT_INBOUND_DEP_DAYS ) ; } if ( ! empty ( $ params -> departureDaysOutbound ) ) { $ this -> departureDays [ ] = new DepartureDays ( $ params -> departureDaysOutbound , SelectionDetails :: OPT_OUTBOUND_DEP_DAYS ) ; } }
@param PriceXplorerExtremeSearchOptions $params
@param PriceXplorerExtremeSearchOptions $params