In the application I am working on, there are some classes with only static functions.
These classes do not follow the Singleton pattern. Consider them just as "tools".
Not real example:
class MathHelper {
public static function plus($num1, $num2)
{
return $num1 + $num2;
}
}
Would it be good practice to forbid the construction with ...
private function __construct()
{
}
just to prevent such class to be instantiated?