protected function _addScopePrefix($scope, array $keys, $separator = ':') {
		$results = [];
		$isMapped = !is_int(key($keys));

		foreach ($keys as $key => $value) {
			if ($isMapped) {
				$results["{$scope}{$separator}{$key}"] = $value;
			} else {
				$results[$key] = "{$scope}{$separator}{$value}";
			}
		}
		return $results;
	}
protected function _addScopePrefix($scope, array $keys, $separator = ':') {
		$results = [];
		$isMapped = !is_int(key($keys));

		foreach ($keys as $key => $value) {
			if ($isMapped) {
				$results["{$scope}{$separator}{$key}"] = $value;
			} else {
				$results[$key] = "{$scope}{$separator}{$value}";
			}
		}
		return $results;
	}
protected function _addScopePrefix ( $ scope , array $ keys , $ separator = ':' ) { $ results = [ ] ; $ isMapped = ! is_int ( key ( $ keys ) ) ; foreach ( $ keys as $ key => $ value ) { if ( $ isMapped ) { $ results [ "{$scope}{$separator}{$key}" ] = $ value ; } else { $ results [ $ key ] = "{$scope}{$separator}{$value}" ; } } return $ results ; }
Adds scope prefix to keys using separator.

@param string $scope Scope to use when prefixing.
@param array $keys Array of keys either with or without mapping to values.
@param string $separator String to use when separating scope from key.
@return array Prefixed keys array.
Adds scope prefix to keys using separator .