Open gbourant opened 4 days ago
At the moment Renarde (RenardeProcessor#collectControllers) generates routes for all non private methods of a given Controller.
RenardeProcessor#collectControllers
The thing is, you could expose sensitive data, if you forget to define the method as private.
If you make the method public then it's exposed, that's the contract. There's no point in making public methods in a controller other than to expose them, so I'm not sure this is an issue.
public
At the moment Renarde (
RenardeProcessor#collectControllers
) generates routes for all non private methods of a given Controller.The thing is, you could expose sensitive data, if you forget to define the method as private.