application
application copied to clipboard
Make Route::*_KEY constants public
trafficstars
Hello, I am wondering why the Route::MODULE_KEY and Route::PRESENTER_KEY constants are private and whether they could be made public? We were using them in route definitions prior to 3.0, and now we have to replace them with 'module' and 'presenter' "magic" strings which seems like a step back.
Thanks for your consideration!
Because it uses them internally. You might even need constant ACTION_KEY, which Route doesn't even have.