OOP Tutorial Part 3
This is the last post in our 3-part tutorial to OOP in PHP. In the previous posts we've created our Seed, which was used by our Tree class to grow. In this post, we are going to create our Garden class. This class will receive a Seed, plant it, and generate us with a series of new trees to choose from.