protected function loadFareBasis($options)
    {
        $short = AttributeDetails::OVERRIDE_FAREBASIS; //Short var name because I get complaints from phpcs. No judging.
        if (in_array($short, $options->overrideOptions) && !empty($options->pricingsFareBasis)) {
            foreach ($options->pricingsFareBasis as $pricingFareBasis) {
                $this->pricingFareBase[] = new PricingFareBase($pricingFareBasis);
            }
        }
    }
protected function loadFareBasis($options)
    {
        $short = AttributeDetails::OVERRIDE_FAREBASIS; 
        if (in_array($short, $options->overrideOptions) && !empty($options->pricingsFareBasis)) {
            foreach ($options->pricingsFareBasis as $pricingFareBasis) {
                $this->pricingFareBase[] = new PricingFareBase($pricingFareBasis);
            }
        }
    }
protected function loadFareBasis ( $ options ) { $ short = AttributeDetails :: OVERRIDE_FAREBASIS ; //Short var name because I get complaints from phpcs. No judging. if ( in_array ( $ short , $ options -> overrideOptions ) && ! empty ( $ options -> pricingsFareBasis ) ) { foreach ( $ options -> pricingsFareBasis as $ pricingFareBasis ) { $ this -> pricingFareBase [ ] = new PricingFareBase ( $ pricingFareBasis ) ; } } }
@param FarePricePnrWithBookingClassOptions|LowerFareOpt|LowestFareOpt $options
@param FarePricePnrWithBookingClassOptions|LowerFareOpt|LowestFareOpt $options