src/ForeverPHP/Core/App.php
public function getMiddleware($name, $arguments = null) {
        if ($this->existsMiddleware($name)) {
            return $this->middlewares[$name]();
        }

        return false;
    }
public function getMiddleware($name, $arguments = null) {
        if ($this->existsMiddleware($name)) {
            return $this->middlewares[$name]();
        }

        return false;
    }
Ejecuta un middleware.

@param  string $name
@param  array  $arguments
@return mixed