mapped[$this->index][$this->value]) ? $this->mapped[$this->index][$this->value] : $this->value; $currency = $repository->find($value); return $currency; } }