protected static function envDetectParseSysConfigServerNames (& $data, $rawHostNames) {
		$data->serverHostNames->check = TRUE;
		if (is_string($rawHostNames)) {
			if (substr($rawHostNames, 0, 1) == '/') {
				$data->serverHostNames->regExeps[] = $rawHostNames;
			} else {
				$data->serverHostNames->values = array_merge(
					$data->serverHostNames->values, 
					explode(',', str_replace(' ', '', $rawHostNames))
				);
			}
		} else if (is_array($rawHostNames) || $rawHostNames instanceof \stdClass) {
			foreach ((array) $rawHostNames as $rawHostNamesItem) {
				if (substr($rawHostNamesItem, 0, 1) == '/') {
					$data->serverHostNames->regExeps[] = $rawHostNamesItem;
				} else {
					$data->serverHostNames->values = array_merge(
						$data->serverHostNames->values, 
						explode(',', str_replace(' ', '', $rawHostNamesItem))
					);
				}
			}
		}
	}
protected static function envDetectParseSysConfigServerNames (& $data, $rawHostNames) {
		$data->serverHostNames->check = TRUE;
		if (is_string($rawHostNames)) {
			if (substr($rawHostNames, 0, 1) == '/') {
				$data->serverHostNames->regExeps[] = $rawHostNames;
			} else {
				$data->serverHostNames->values = array_merge(
					$data->serverHostNames->values, 
					explode(',', str_replace(' ', '', $rawHostNames))
				);
			}
		} else if (is_array($rawHostNames) || $rawHostNames instanceof \stdClass) {
			foreach ((array) $rawHostNames as $rawHostNamesItem) {
				if (substr($rawHostNamesItem, 0, 1) == '/') {
					$data->serverHostNames->regExeps[] = $rawHostNamesItem;
				} else {
					$data->serverHostNames->values = array_merge(
						$data->serverHostNames->values, 
						explode(',', str_replace(' ', '', $rawHostNamesItem))
					);
				}
			}
		}
	}
protected static function envDetectParseSysConfigServerNames ( & $ data , $ rawHostNames ) { $ data -> serverHostNames -> check = TRUE ; if ( is_string ( $ rawHostNames ) ) { if ( substr ( $ rawHostNames , 0 , 1 ) == '/' ) { $ data -> serverHostNames -> regExeps [ ] = $ rawHostNames ; } else { $ data -> serverHostNames -> values = array_merge ( $ data -> serverHostNames -> values , explode ( ',' , str_replace ( ' ' , '' , $ rawHostNames ) ) ) ; } } else if ( is_array ( $ rawHostNames ) || $ rawHostNames instanceof \ stdClass ) { foreach ( ( array ) $ rawHostNames as $ rawHostNamesItem ) { if ( substr ( $ rawHostNamesItem , 0 , 1 ) == '/' ) { $ data -> serverHostNames -> regExeps [ ] = $ rawHostNamesItem ; } else { $ data -> serverHostNames -> values = array_merge ( $ data -> serverHostNames -> values , explode ( ',' , str_replace ( ' ' , '' , $ rawHostNamesItem ) ) ) ; } } } }
Parse system config environment section data from various declarations
about server host names into specific detection structure.
@param \stdClass $data
@param mixed $rawHostNames
@return void
Parse system config environment section data from various declarations about server host names into specific detection structure .