Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Skip dispatch after match #120

@fitdev-pro

Description

@fitdev-pro
  • 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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions