Skip to content
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
Open
@fitdev-pro

Description

  • PHPRouter version: 1.2.0-alpha
  • PHP version: PHP 7.1:
  • Exact steps to cause this issue
    1. I configured RouteCollection
    2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions