system/Router/RouteCollection.php
public function map(array $routes = [], array $options = null): RouteCollectionInterface
	{
		foreach ($routes as $from => $to)
		{
			$this->add($from, $to, $options);
		}

		return $this;
	}
public function map(array $routes = [], array $options = null): RouteCollectionInterface
	{
		foreach ($routes as $from => $to)
		{
			$this->add($from, $to, $options);
		}

		return $this;
	}
A shortcut method to add a number of routes at a single time.
It does not allow any options to be set on the route, or to
define the method used.

@param array $routes
@param array $options

@return RouteCollectionInterface