public function calculateSeries(Stock $stock) { $this->loader->setCode($stock->getCode()); $this->loader->setCount($stock->getCount()); return array_combine($this->loader->getDates(), $this->loader->getPrices()); }
public function calculateSeries(Stock $stock) { $this->loader->setCode($stock->getCode()); $this->loader->setCount($stock->getCount()); return array_combine($this->loader->getDates(), $this->loader->getPrices()); }