Menu
With static functions, is there any way to test class instantiation and then use the $this keyword? I have a logger function and would like to populate $this->log[] if in the browser and just write to the database if it’s a static call.
I’m unsure the best way to test for a browser in _construct() to handle $