Tag: static method

How to call non static method from static method in PHP?


If the instance of your class is rarely needed, you can have the static method create an instance, call the non-static method and return the value.