laroute icon indicating copy to clipboard operation
laroute copied to clipboard

Option to not expose my PHP classes + methods?

Open mnpenner opened this issue 8 years ago • 6 comments

Specifically, I want to disable this feature:

laroute.action('HomeController@getIndex');

I always use named routes. It's not necessary to expose my class structure. If not for security, then simply to reduce the output file size.

mnpenner avatar Mar 11 '17 19:03 mnpenner

u can exclude anything from the output at vendor/lord/laroute/src/Routes/Collection.php line:93

but note that u wont be able to use the laroute.action anymore

ctf0 avatar Mar 13 '17 10:03 ctf0

There is no line 93?

mnpenner avatar Mar 13 '17 15:03 mnpenner

oh sorry for that, check the PR instead

ctf0 avatar Mar 13 '17 15:03 ctf0

I just could not believe my eyes when I saw all the actions listed on this file. This should not be an option in the first place.

atahrijouti avatar May 30 '17 10:05 atahrijouti

I'd also like to use this option. Is this going to be pulled in soon? Thanks!

KuenzelIT avatar Jun 18 '17 11:06 KuenzelIT

Will this be pushed out soon?

ellisonpatterson avatar Oct 23 '17 12:10 ellisonpatterson