diff --git a/src/MoneyComponent.php b/src/MoneyComponent.php index 8130bbf..1afeaa8 100644 --- a/src/MoneyComponent.php +++ b/src/MoneyComponent.php @@ -55,6 +55,7 @@ public function init() /** * @return Money + * @deprecated */ public function newMoney() { @@ -63,11 +64,21 @@ public function newMoney() /** * @return array|MoneyCurrency[] + * @deprecated */ public function getActiveCurrencies() { return MoneyCurrency::find()->where(['is_active' => 1])->all(); } + /** + * @param $money + * @return string + * @deprecated + */ + public function convertAndFormat($money) + { + return (string) $money; + } } \ No newline at end of file