public function match(array $methods, string $pattern, $handler)
    {
        $this['route.collector']->addRoute($methods, $pattern, $handler);
    }
public function match(array $methods, string $pattern, $handler)
    {
        $this['route.collector']->addRoute($methods, $pattern, $handler);
    }
public function match ( array $ methods , string $ pattern , $ handler ) { $ this [ 'route.collector' ] -> addRoute ( $ methods , $ pattern , $ handler ) ; }
Maps various HTTP requests to handler.
Maps various HTTP requests to handler .