Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed May 22, 2018
1 parent e7892a9 commit 566fb68
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/MoneyComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public function init()

/**
* @return Money
* @deprecated
*/
public function newMoney()
{
Expand All @@ -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;
}

}

0 comments on commit 566fb68

Please sign in to comment.