protected function loadCorpUniFares($corporateUniFares, $awardPricing)
    {
        $opt = [];

        if (!empty($corporateUniFares)) {
            $po = new PricingOption(PricingOptionKey::OPTION_CORPORATE_UNIFARES);
            $po->optionDetail = new OptionDetail($corporateUniFares);
            $opt[] = $po;

            if (!empty($awardPricing)) {
                $opt[] = $this->loadAwardPricing($awardPricing);
            }
        }

        return $opt;
    }
protected function loadCorpUniFares($corporateUniFares, $awardPricing)
    {
        $opt = [];

        if (!empty($corporateUniFares)) {
            $po = new PricingOption(PricingOptionKey::OPTION_CORPORATE_UNIFARES);
            $po->optionDetail = new OptionDetail($corporateUniFares);
            $opt[] = $po;

            if (!empty($awardPricing)) {
                $opt[] = $this->loadAwardPricing($awardPricing);
            }
        }

        return $opt;
    }
protected function loadCorpUniFares ( $ corporateUniFares , $ awardPricing ) { $ opt = [ ] ; if ( ! empty ( $ corporateUniFares ) ) { $ po = new PricingOption ( PricingOptionKey :: OPTION_CORPORATE_UNIFARES ) ; $ po -> optionDetail = new OptionDetail ( $ corporateUniFares ) ; $ opt [ ] = $ po ; if ( ! empty ( $ awardPricing ) ) { $ opt [ ] = $ this -> loadAwardPricing ( $ awardPricing ) ; } } return $ opt ; }
Load corporate unifares

@param string[] $corporateUniFares
@param AwardPricing|null $awardPricing
@return PricingOption[]
Load corporate unifares