I created two types for doctrine mongodb. dough_money and dough_currency_money. I put the registration for the types into the DoughBundle. As a side note, I have also created a additional types for dealing with arrays of money for use in Vespolina. To me it would be appropriate to have them in Dough, but I'll let you decide that. Here's the code https://github.com/vespolina/VespolinaPricing/tree/master/lib/Vespolina/Pricing/Doctrine/ODM/MongoDB/Type If you think it belongs here, I'll move it and put in a PR.
add doctrine mongodb-odm types
updates to PHP closures
I think the array type could be a handy item to have for other mongo users, I've got no problem putting it in here.
Looks like the travis environment needs a mongo extension installed to run the tests?
hmm, I thought they included that now. I'll update travis and add the hash types to the PR tomorrow
add money hash types
update travis to use older and newer mongodb, to match the mongodb te…
Ok, this should be good to go now.