This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
Skip dispatch after match #120
Open
Description
- PHPRouter version: 1.2.0-alpha
- PHP version: PHP 7.1:
- Exact steps to cause this issue
- I configured RouteCollection
- I run method matchCurrentRequest on Router
- What you expected
- I expected to get all information about route and use this information in other middleware using psr 15
- What happened instead
- Router create controller object and run the action
Is it possible to turn of run method dispatch() after find route by configuration flag.
Activity