Skip to content

Update AltoRouter.php #97

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

Merged
merged 3 commits into from
Mar 1, 2015
Merged

Update AltoRouter.php #97

merged 3 commits into from
Mar 1, 2015

Conversation

SebastianPoell
Copy link
Contributor

Added function getRoutes(). Often it's nice to process routes or display them without extending AltoRouter.

Added function getRoutes(). Often it's nice to process routes or display them without extending AltoRouter.

/**
* Retrieves all routes.
* Useful if you want to process or display routes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add @return comment

@koenpunt
Copy link
Collaborator

Thanks, see my notes above. Also, not sure if it should be the first method after __construct, @dannyvankooten what do you think?

Added @return to getRoutes. Removed unnecessary whitespaces.
dannyvankooten added a commit that referenced this pull request Mar 1, 2015
@dannyvankooten dannyvankooten merged commit fa50148 into dannyvankooten:master Mar 1, 2015
@dannyvankooten
Copy link
Owner

👍 Cool, thank you and sorry for the late merge!

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.

3 participants