src/Routing/Router.php
/**
	 * Registers a domain group. Routes registered within this group will only apply if the current request domain
	 * matches the specified domain.
	 *
	 * @param string $domain
	 * @param Closure $callback
	 * @return RouteGroup
	 */
Registers a domain group. Routes registered within this group will only apply if the current request domain
matches the specified domain.

@param string $domain
@param Closure $callback
@return RouteGroup
Registers a domain group . Routes registered within this group will only apply if the current request domain matches the specified domain . @param string $domain @param Closure $callback @return RouteGroup
public function createDomainGroup($domain, Closure $callback) {
		return $this->addRouteGroup($callback, array(
			'domain' => $domain
		));
	}
public function createDomainGroup ( $ domain , Closure $ callback ) { return $ this -> addRouteGroup ( $ callback , array ( 'domain' => $ domain ) ) ; }
Registers a domain group.
Registers a domain group .