Is it possible to declare an instance of a class as a property in PHP?
Basically what I want to achieve is:
abstract class ClassA() { static $prop
An alternative solution, a static constructor, is something along the lines of
Please note that the class doesn't have to be abstract for this to work.
See also How to initialize static variables and https://stackoverflow.com/a/3313137/118153.