Permalink
Browse files

register money hash types

  • Loading branch information...
1 parent b98e50b commit 34fd0ca48c1aecbb0b12a8930afff8184105fba4 @iampersistent iampersistent committed Mar 19, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 merkDoughBundle.php
View
@@ -26,6 +26,8 @@ public function __construct()
{
Type::registerType('dough_money', 'Dough\Doctrine\ODM\MongoDB\Type\DoughMoneyType');
Type::registerType('dough_currency_money', 'Dough\Doctrine\ODM\MongoDB\Type\DoughCurrencyMoneyType');
+ Type::registerType('dough_money_hash', 'Vespolina\Pricing\Doctrine\ODM\MongoDB\Type\DoughMoneyHashType');
+ Type::registerType('dough_currency_money_hash', 'Vespolina\Pricing\Doctrine\ODM\MongoDB\Type\DoughCurrencyMoneyHashType');
yethee
yethee Mar 19, 2013

Seems, for last two lines should be added package in composer.json

yethee
yethee Mar 19, 2013

Sorry, just is wrong namespace.

iampersistent
iampersistent Mar 19, 2013 Owner

Sorry about that. I have put in a PR for it merk#9 . Good catch, thanks.

}
public function boot()

0 comments on commit 34fd0ca

Please sign in to comment.