I have an helper class with some static functions. all the functions in the class requires a 'heavy' initialization function to run once ( like it was a constructor.. ).
is there a good practice ?
the only thing i thought of is calling 'init' function , and breaking it's flow if it already run once (using static $initialized var). problem is i need to call it on EVERY of the classe's functions :(
please help