public function map(string $pattern, array $verbs, $stages): void
    {
        $pipeline = new HttpPipeline($verbs, $this->prefix.$pattern, $this->routerStages);
        $pipeline->pipe($stages);
        $this->pipelineCollection->add($pipeline);
    }
public function map(string $pattern, array $verbs, $stages): void
    {
        $pipeline = new HttpPipeline($verbs, $this->prefix.$pattern, $this->routerStages);
        $pipeline->pipe($stages);
        $this->pipelineCollection->add($pipeline);
    }
public function map ( string $ pattern , array $ verbs , $ stages ) : void { $ pipeline = new HttpPipeline ( $ verbs , $ this -> prefix . $ pattern , $ this -> routerStages ) ; $ pipeline -> pipe ( $ stages ) ; $ this -> pipelineCollection -> add ( $ pipeline ) ; }
Add multiple verb to a pattern and stages.

@param array                              $verbs
@param callable|string|HttpPipeline|array $stages $stages

@throws \Moon\Moon\Exception\InvalidArgumentException
Add multiple verb to a pattern and stages .