PHP implementation of Fowler's Money pattern