src/Bihan/Application.php
/**
     * Adds a route to the collection.
     *
     * @param string|string[] $method   Either a string or an array of valid HTTP method
     * @param string          $pattern  The route pattern
     * @param mixed           $callback Either a controller string or a callable
     */
Adds a route to the collection.
@param string|string[] $method   Either a string or an array of valid HTTP method
@param string          $pattern  The route pattern
@param mixed           $callback Either a controller string or a callable
Adds a route to the collection . @param string|string [] $method Either a string or an array of valid HTTP method @param string $pattern The route pattern @param mixed $callback Either a controller string or a callable
public function match($method, $pattern, $callback)
    {
        $methods = is_array($method) ? $method : explode('|', $method);
        $this['route_collector']->addRoute($methods, $pattern, $callback);
    }
public function match ( $ method , $ pattern , $ callback ) { $ methods = is_array ( $ method ) ? $ method : explode ( '|' , $ method ) ; $ this [ 'route_collector' ] -> addRoute ( $ methods , $ pattern , $ callback ) ; }
Adds a route to the collection.
Adds a route to the collection .