$role]); throw new FireflyException('Import entry cannot handle object of type "' . $role . '".'); break; case 'amount': $this->setAmount($convertedValue); return; case 'account-id': break; } } /** * @param float $amount */ private function setAmount(float $amount) { $this->amount = $amount; } }