public function remove( $routeId, $strict = TRUE ){
		if( array_key_exists( $routeId, $this->routes ) ){
			unset( $this->routes[$routeId] );
			return TRUE;
		}
		if( $strict )
			throw new \DomainException( 'No route found for this route ID' );
		return FALSE;
	}
public function remove( $routeId, $strict = TRUE ){
		if( array_key_exists( $routeId, $this->routes ) ){
			unset( $this->routes[$routeId] );
			return TRUE;
		}
		if( $strict )
			throw new \DomainException( 'No route found for this route ID' );
		return FALSE;
	}
public function remove ( $ routeId , $ strict = TRUE ) { if ( array_key_exists ( $ routeId , $ this -> routes ) ) { unset ( $ this -> routes [ $ routeId ] ) ; return TRUE ; } if ( $ strict ) throw new \ DomainException ( 'No route found for this route ID' ) ; return FALSE ; }
Removes a route from route registry by its ID.
@access		public
@param		string		$routeId		ID of route
@param		boolean		$strict			Throw exception if route ID is invalid
@return		boolean		TRUE is route existed and has been removed
@throws		DomainException				if route ID has not been found in registry (strict mode only)
Removes a route from route registry by its ID .