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