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

feat: Implement basic router with just routes #9

Merged
merged 10 commits into from
May 3, 2024

Conversation

Gashmob
Copy link
Member

@Gashmob Gashmob commented Apr 25, 2024

Closes #7

@Gashmob Gashmob added the enhancement New feature or request label Apr 25, 2024
@Gashmob Gashmob self-assigned this Apr 25, 2024
@Gashmob Gashmob linked an issue Apr 25, 2024 that may be closed by this pull request
Gashmob added 8 commits April 27, 2024 10:58
Part of #7

This class hold all routes and is cached
Part of #7

Collected routes are parsed to regex (with named group) and then added
to collection
Part of #7

And xml can take a SimpleXMLElement
Part of #7

Now route method takes a ServerRequestInterface as argument and returns
a ResponseInterface which can be handled by ResponseHandler
@Gashmob Gashmob merged commit 36ad3ff into master May 3, 2024
4 checks passed
@Gashmob Gashmob deleted the 7-implement-basic-router-with-just-routes branch May 3, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement basic router with just routes
1 participant