mapped[$this->index][$this->value])) { $currency = TransactionCurrency::find($this->mapped[$this->index][$this->value]); } else { $currency = TransactionCurrency::find($this->value); } return $currency; } }