public function get($uriPattern, callable $controller)
    {
        return new IRoutePatternSetterAdapter(
            $this->getFrontController()->addController($uriPattern, $controller, 'get')->getPattern()
        );
    }
public function get($uriPattern, callable $controller)
    {
        return new IRoutePatternSetterAdapter(
            $this->getFrontController()->addController($uriPattern, $controller, 'get')->getPattern()
        );
    }
public function get ( $ uriPattern , callable $ controller ) { return new IRoutePatternSetterAdapter ( $ this -> getFrontController ( ) -> addController ( $ uriPattern , $ controller , 'get' ) -> getPattern ( ) ) ; }
Adds a controller called by http GET method.

@param string $uriPattern
@param callable $controller
@return IRoutePatternSetter
Adds a controller called by http GET method .