Ejemplo n.º 1
0
 public function synchronize()
 {
     $currencies = $this->fetch();
     foreach ($currencies as $currency) {
         $this->convert($currency);
     }
     return Currency::all();
 }
Ejemplo n.º 2
0
 public function index()
 {
     return Currency::all();
 }