public static function create()
    {
        $dispatcher = new Dispatcher();
        foreach (static::$_stack as $middleware) {
            $dispatcher->addFilter($middleware);
        }

        return $dispatcher;
    }
public static function create()
    {
        $dispatcher = new Dispatcher();
        foreach (static::$_stack as $middleware) {
            $dispatcher->addFilter($middleware);
        }

        return $dispatcher;
    }
public static function create ( ) { $ dispatcher = new Dispatcher ( ) ; foreach ( static :: $ _stack as $ middleware ) { $ dispatcher -> addFilter ( $ middleware ) ; } return $ dispatcher ; }
Create a dispatcher that has all the configured middleware applied.

@return \Cake\Routing\Dispatcher
Create a dispatcher that has all the configured middleware applied .