As far as I know, there is not an easy way to overload a constructor in PHP in the same way as in C# or Java. There seems to be a whole bunch of different solutions or workarounds regarding this issue. I’ve been working a lot with PHP in my degree project and this is the technique we used to “overload” constructors. Continue reading…
Overloading constructors in PHP
Jun 6 2008