I use several delegators in my project and if I define Config::DI_CACHE_PATH I get the error
Cannot compile closures which import variables using the use keyword
as mentioned in issue #45. The solution mentioned there isn't practicable in my case. I'd like to propose the following change to the Config class which eliminates the problem with the use keyword (and allows for type hinting the parameters):
I use several delegators in my project and if I define Config::DI_CACHE_PATH I get the error
as mentioned in issue #45. The solution mentioned there isn't practicable in my case. I'd like to propose the following change to the Config class which eliminates the problem with the use keyword (and allows for type hinting the parameters):