/** * @When I get PriceExcludingTax */ public function iGetPriceexcludingtax() { try { $this->response = $this->price->getPriceExcludingTax(); } catch (\Exception $e) { $this->exception = $e; } }
/** * Fired before an object is about to be saved by doctrine * * @param PricingConfigAware $object The model to inject the price config into * * @SuppressWarnings(PHPMD.UnusedFormalParameter) * * @return void */ public function postLoad(Price $object) { $object->setTaxCalculator($this->getTaxCalculator()); }