From 9ab339817e0ce68e75ce2f7f32f9e2719bc975ec Mon Sep 17 00:00:00 2001 From: Daniel Lima Date: Mon, 2 Feb 2015 19:49:24 -0200 Subject: [PATCH] Replacing money usage example The early example wasn't good. It used json on constructors and had several code smells. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c744ffb..2a696d1 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ A collection of resources to learn object-oriented programming and related conce * [What’s the difference between Active Record and Data Mapper?](http://culttt.com/2014/06/18/whats-difference-active-record-data-mapper/) - A tutorial explaining the difference between Active Record and Data Mapper patterns. * [Managing Class Dependencies: An Introduction to Dependency Injection, Service Locators, and Factories, Part 1](http://www.sitepoint.com/managing-class-dependencies-1/) and [Managing Class Dependencies: An Introduction to Dependency Injection, Service Locators, and Factories, Part 2](http://www.sitepoint.com/managing-class-dependencies-2/) - An introduction to Dependency Injection, Service Locators and Factories. * [Money Pattern: The Right Way to Represent Value-Unit Pairs](https://code.tutsplus.com/tutorials/money-pattern-the-right-way-to-represent-value-unit-pairs--net-35509) - An introduction to the Money Pattern in PHP. -* [Working with Money and Currency in PHP](http://culttt.com/2014/06/04/working-money-currency-php/) - A tutorial about how to work with Money and Currency in PHP. +* [Working with Money and Currency in PHP](https://github.com/sebastianbergmann/money) - Value Object that represents a monetary value (using a currency's smallest unit). * [Working with Products, Orders and Sales in PHP](http://culttt.com/2014/06/11/working-products-orders-sales-php/) - A tutorial about how to work with Products, Orders and Sales in PHP. * [Reusing Implementation – a Walk-through of Inheritance, Composition, and Delegation](http://www.sitepoint.com/reusing-implementation-a-walk-through-of-inheritance-composition-and-delegation/) - A tutorial about code reusing and OOP in PHP. * [Design Tech Talk Series Presents: OO Design for Testability (►)](https://www.youtube.com/watch?v=acjvKJiOvXw&index=8&list=PL693EFD059797C21E) - A talk about Object-Oriented Design a testability.