A factory for creating dispatchers with all the desired middleware connected.
_createFilter( string $name , array $options )
Create an instance of a filter.
$name
$options
Cake\Routing\DispatcherFilter
Cake\Routing\Exception\MissingDispatcherFilterException
add( string|Cake\Routing\DispatcherFilter $filter , array $options [] )
Add a new middleware object to the stack of middleware that will be executed.
Instances of filters will be re-used across all sub-requests in a request.
Cake\Routing\DispatcherFilter
$filter
$options
optional [] Cake\Routing\DispatcherFilter
create( )
Create a dispatcher that has all the configured middleware applied.
Cake\Routing\Dispatcher
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/3.1/class-Cake.Routing.DispatcherFactory.html