I have a class where inside this class is one private method and many public methods. This private method must be called every time before any other method is called.
The simpliest approach would be calling the method in every method, but I don't like this approach. Is there any other way to achieve this ?