PHP Object Oriented Programming Tutorial 2 - Constructors, Parameter Scope & Getters/Setters

In the second video tutorial on Object Oriented PHP Programming, I begin by showing you an alternative to the magic __construct method. From there, we take a look at public and private parameter scopes and why the public scope should be avoided. We conclude the tutorial by looking at getter and setter methods and how they can be used to create a contract when using your object.