Skip to content

Allow multiple route annontations per function#4

Open
richvigorito wants to merge 15 commits intoProAI:masterfrom
richvigorito:master
Open

Allow multiple route annontations per function#4
richvigorito wants to merge 15 commits intoProAI:masterfrom
richvigorito:master

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){}

@unrevised6419
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