public function match(array $verbs = [], string $from, $to, array $options = null): RouteCollectionInterface
	{
		foreach ($verbs as $verb)
		{
			$verb = strtolower($verb);

			$this->{$verb}($from, $to, $options);
		}

		return $this;
	}
public function match(array $verbs = [], string $from, $to, array $options = null): RouteCollectionInterface
	{
		foreach ($verbs as $verb)
		{
			$verb = strtolower($verb);

			$this->{$verb}($from, $to, $options);
		}

		return $this;
	}
public function match ( array $ verbs = [ ] , string $ from , $ to , array $ options = null ) : RouteCollectionInterface { foreach ( $ verbs as $ verb ) { $ verb = strtolower ( $ verb ) ; $ this -> { $ verb } ( $ from , $ to , $ options ) ; } return $ this ; }
Specifies a single route to match for multiple HTTP Verbs.

Example:
$route->match( ['get', 'post'], 'users/(:num)', 'users/$1);

@param array        $verbs
@param string       $from
@param string|array $to
@param array        $options

@return \CodeIgniter\Router\RouteCollectionInterface
Specifies a single route to match for multiple HTTP Verbs .