This week, I was handed a project. It was something that was outsourced way before my time at the company. The company that wrote, and maintained it, have now closed / been sold…
Once you get into writing OOP PHP, you'll find the terms "trait" and "interface" thrown around a lot. What are they, and when should you be using each of them?