• Home
  • Knowledge Base
    • KB Category
    • Single Page
    • Private Content
      • Private – Category
      • Private – Article
      • Private – Attached Files
      • Password Protected Article
    • Page – features
      • One Click Article Feedback
      • Attached Files
      • Print Article
      • Custom header
  • Search
  • Home
  • Knowledge Base
    • KB Category
    • Single Page
    • Private Content
      • Private – Category
      • Private – Article
      • Private – Attached Files
      • Password Protected Article
    • Page – features
      • One Click Article Feedback
      • Attached Files
      • Print Article
      • Custom header
  • Search
home/Knowledge Base/HTTP Manager/Http Router

Http Router

10 views 0

Written by admin
May 3, 2022
  • RouterStore : The `RouterStore` class is a PHP class that provides functionality for registering and managing
    routes in a web application.
    • The `RouterStoreFactory` class is an implementation of the `RouterStoreInterface` that provides
      methods for creating and managing routes in a HTTP router.

Router

  • PathFinder : The `PathFinder` class is responsible for scanning and registering routes from classes, methods, and functions in the application.
    • The `PathFinderFactory` class is a PHP class that implements the `PathFinderInterface` and is
      responsible for creating and running a `PathFinder` object.
  • Route :  The `Route` class is a PHP class that represents a matched route in a router, storing information such as the matched route, matched regex, callable handler, parameters, and whether the route was found.
    • The `RouteMatcherFactory` class is a factory that creates instances of `RouteMatcher` and provides a method to match a request to a route.
    • The RouteMatcher class is responsible for matching a given HTTP request to a route based on the defined routes and their corresponding regular expressions.
  • RouterStore : The `RouterStore` class is a PHP class that provides functionality for registering and managing
    routes in a web application.
    • The `RouterStoreFactory` class is an implementation of the `RouterStoreInterface` that provides
      methods for creating and managing routes in a HTTP router.

Was this helpful?

0 Yes  0 No
Related Articles
  • How to set-up Http Manager
  • Request Mappings
  • Http Request
  • Http Response
  • Route Registry

Didn't find your answer? Contact Us

  Http Response

Route Registry  

  • Copyright 2023 Emma Technologies LLC. All Rights Reserved