public function add($pattern, $paths = null, $httpMethods = null)
    {
        foreach ($httpMethods as $httpMethod) {
            $this->application->{strtolower($httpMethod)}($pattern, $this->pathToHandler($paths));
        }

        return null;
    }
public function add($pattern, $paths = null, $httpMethods = null)
    {
        foreach ($httpMethods as $httpMethod) {
            $this->application->{strtolower($httpMethod)}($pattern, $this->pathToHandler($paths));
        }

        return null;
    }
public function add ( $ pattern , $ paths = null , $ httpMethods = null ) { foreach ( $ httpMethods as $ httpMethod ) { $ this -> application -> { strtolower ( $ httpMethod ) } ( $ pattern , $ this -> pathToHandler ( $ paths ) ) ; } return null ; }
Adds a route to the router on any HTTP method

@param string $pattern
@param mixed  $paths
@param mixed  $httpMethods

@return \Phalcon\Mvc\Router\RouteInterface
Adds a route to the router on any HTTP method