concrete/src/Http/Middleware/MiddlewareStack.php
private function getZipper()
    {
        $app = $this->app;
        return function($last, MiddlewareInterface $middleware) use ($app) {
            return $app->make(DelegateInterface::class, [$middleware, $last]);
        };
    }
private function getZipper()
    {
        $app = $this->app;
        return function($last, MiddlewareInterface $middleware) use ($app) {
            return $app->make(DelegateInterface::class, [$middleware, $last]);
        };
    }
private function getZipper ( ) { $ app = $ this -> app ; return function ( $ last , MiddlewareInterface $ middleware ) use ( $ app ) { return $ app -> make ( DelegateInterface :: class , [ $ middleware , $ last ] ) ; } ; }
Get the function used to zip up the middleware
This function runs as part of the array_reduce routine and reduces the list of middlewares into a single delegate
@return callable
Get the function used to zip up the middleware This function runs as part of the array_reduce routine and reduces the list of middlewares into a single delegate