Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to not expose my PHP classes + methods? #58

Open
mnpenner opened this issue Mar 11, 2017 · 6 comments
Open

Option to not expose my PHP classes + methods? #58

mnpenner opened this issue Mar 11, 2017 · 6 comments

Comments

@mnpenner
Copy link

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.

@ctf0
Copy link

ctf0 commented Mar 13, 2017

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

@mnpenner
Copy link
Author

There is no line 93?

@ctf0
Copy link

ctf0 commented Mar 13, 2017

oh sorry for that, check the PR instead

@atahrijouti
Copy link

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.

@KuenzelIT
Copy link

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

@ellisonpatterson
Copy link

Will this be pushed out soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants