Skip to content

air-php/dispatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dispatcher

Build Status Scrutinizer Code Quality

The dispatcher library includes classes for dispatching web application routes.

Installation

Installation via Composer is recommended.

"require": {
    "air-php/dispatcher": "dev-master"
}

Dispatcher

The dispatch() method of the Dispatcher class takes a ResolvedRequest (compatible with Air's ResolvedRequest interface) and dispatches it.

If present, the dispatcher will call a before() and after() method on the target controller, before and after it calls the controller's action. This provides two useful hooks for code execution in your application's controllers.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages