application icon indicating copy to clipboard operation
application copied to clipboard

Make Route::*_KEY constants public

Open jiripudil opened this issue 6 years ago • 1 comments
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!

jiripudil avatar Aug 06 '19 13:08 jiripudil

Because it uses them internally. You might even need constant ACTION_KEY, which Route doesn't even have.

dg avatar Aug 07 '19 13:08 dg