From b9291cb8200631d41297e55df1e44e6a0c336fdc Mon Sep 17 00:00:00 2001 From: Semenov Date: Sun, 20 May 2018 17:30:35 +0300 Subject: [PATCH] dev --- src/MoneyComponent.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/MoneyComponent.php b/src/MoneyComponent.php index 24f9955..f6103da 100644 --- a/src/MoneyComponent.php +++ b/src/MoneyComponent.php @@ -52,4 +52,12 @@ public function init() } } + /** + * @return Money + */ + public function newMoney() + { + return new Money('0', $this->currencyCode); + } + } \ No newline at end of file