I'm currently updating my personal PHP framework and I have a question: what is the best way to store config variables in oop style?
In fact, I'm currently using define vars like this, because I always read that define vars are good as config vars:
define('LOG_FILE', 'app/log/log.txt');
But in an oop way, isn't it better to use a static class with static vars?
MyFramework::LOG_FILE = 'app/log/log.txt'