PHP OOP Tutorial 9 | Static Classes

Static Methods(functions) are called from anywhere in your system. I prefer to call my classes Static because I like all my methods within a class using static methods to be static. Optionally, you can use regular functions and instantiate the class regularly. They have their uses but don't abuse them or you might give yourself a headache trying to debug something in OOP.



Thanks for watching my video tutorials! I hope they help and make your learning easier.