src/FreeFW/Middleware/Pipeline.php
public function pipeFromDI(string $p_middleware)
    {
        $middleware = \FreeFW\DI\DI::get($p_middleware);
        $this->middlewares->enqueue($middleware);
        return $this;
    }
public function pipeFromDI(string $p_middleware)
    {
        $middleware = \FreeFW\DI\DI::get($p_middleware);
        $this->middlewares->enqueue($middleware);
        return $this;
    }
public function pipeFromDI ( string $ p_middleware ) { $ middleware = \ FreeFW \ DI \ DI :: get ( $ p_middleware ) ; $ this -> middlewares -> enqueue ( $ middleware ) ; return $ this ; }
Add new middleware to pipeline

@param string $p_middleware

@return \FreeFW\Middleware\Pipeline
Add new middleware to pipeline