protected function & rewriteRoutingGetRoutesToMatch ($firstPathWord) {
		if (isset($this->routesGroups[$firstPathWord])) {
			$routes = & $this->routesGroups[$firstPathWord];
		} else if (isset($this->routesGroups[''])) {
			$routes = & $this->routesGroups[''];
		} else {
			$routes = [];
		}
		reset($routes);
		return $routes;
	}
protected function & rewriteRoutingGetRoutesToMatch ($firstPathWord) {
		if (isset($this->routesGroups[$firstPathWord])) {
			$routes = & $this->routesGroups[$firstPathWord];
		} else if (isset($this->routesGroups[''])) {
			$routes = & $this->routesGroups[''];
		} else {
			$routes = [];
		}
		reset($routes);
		return $routes;
	}
protected function & rewriteRoutingGetRoutesToMatch ( $ firstPathWord ) { if ( isset ( $ this -> routesGroups [ $ firstPathWord ] ) ) { $ routes = & $ this -> routesGroups [ $ firstPathWord ] ; } else if ( isset ( $ this -> routesGroups [ '' ] ) ) { $ routes = & $ this -> routesGroups [ '' ] ; } else { $ routes = [ ] ; } reset ( $ routes ) ; return $ routes ; }
Get specific routes group by first parsed word from request path if any.
If first path word is an empty string, there is returned routes with no group
word defined. If still there are no such routes in default group, returned
is an empty array.
@param string $firstPathWord
@return array|\MvcCore\IRoute[]
Get specific routes group by first parsed word from request path if any . If first path word is an empty string there is returned routes with no group word defined . If still there are no such routes in default group returned is an empty array .