concrete/src/Http/Middleware/MiddlewareStack.php
private function middlewareGenerator()
    {
        $middlewares = $this->middleware;
        ksort($middlewares);

        foreach ($middlewares as $priorityGroup) {
            foreach ($priorityGroup as $middleware) {
                yield $middleware;
            }
        }
    }
private function middlewareGenerator()
    {
        $middlewares = $this->middleware;
        ksort($middlewares);

        foreach ($middlewares as $priorityGroup) {
            foreach ($priorityGroup as $middleware) {
                yield $middleware;
            }
        }
    }
private function middlewareGenerator ( ) { $ middlewares = $ this -> middleware ; ksort ( $ middlewares ) ; foreach ( $ middlewares as $ priorityGroup ) { foreach ( $ priorityGroup as $ middleware ) { yield $ middleware ; } } }
Get a generator that converts the stored priority array into a sorted flat list
@return \Generator
Get a generator that converts the stored priority array into a sorted flat list