public function pipeForContainer($pipe, $methodName = '', ...$params): self
    {
        if ($pipe instanceof Closure) {
            $this->pipes[] = $pipe;
            return $this;
        }

        $pipe = [
            $pipe,
            $methodName,
            $params,
            true
        ];
        $this->pipes[] = $pipe;
        return $this;
    }
public function pipeForContainer($pipe, $methodName = '', ...$params): self
    {
        if ($pipe instanceof Closure) {
            $this->pipes[] = $pipe;
            return $this;
        }

        $pipe = [
            $pipe,
            $methodName,
            $params,
            true
        ];
        $this->pipes[] = $pipe;
        return $this;
    }
public function pipeForContainer ( $ pipe , $ methodName = '' , ... $ params ) : self { if ( $ pipe instanceof Closure ) { $ this -> pipes [ ] = $ pipe ; return $ this ; } $ pipe = [ $ pipe , $ methodName , $ params , true ] ; $ this -> pipes [ ] = $ pipe ; return $ this ; }
Add stage without middleware interface.

@param $pipe description for stage
@param string $methodName
@param array ...$params
@return $this
Add stage without middleware interface .