In a code i've come across a class which had this function at the start:
private function __construct() {
}
Why would there be an empty function at the top? Is there any purpose to this? Or does this depend on the rest of the code? If it does could anyone give me an example in which this would be useful.