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

Allow multiple route annontations per function #4

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

richvigorito
Copy link

This change allows for the ability to create multiple method annotations for routes per function.

Example:

/*
@get('/country/{country_iso}/users
@get('/country/{country_iso}/state/{state_iso}/users
*/
function getUsersByLocation($country_iso,$state_iso = null){}

@iamandrewluca
Copy link

You are not allowed to edit composer.json name and homepage. This will break entire package.

@richvigorito
Copy link
Author

Reverted composer.json change back to original

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 this pull request may close these issues.

2 participants