src/Tus/Server.php
protected function applyMiddleware()
    {
        $middleware = $this->middleware()->list();

        foreach ($middleware as $m) {
            $m->handle($this->getRequest(), $this->getResponse());
        }
    }
protected function applyMiddleware()
    {
        $middleware = $this->middleware()->list();

        foreach ($middleware as $m) {
            $m->handle($this->getRequest(), $this->getResponse());
        }
    }
protected function applyMiddleware ( ) { $ middleware = $ this -> middleware ( ) -> list ( ) ; foreach ( $ middleware as $ m ) { $ m -> handle ( $ this -> getRequest ( ) , $ this -> getResponse ( ) ) ; } }
Apply middleware.

@return void
Apply middleware .