public function applyVariables($groups, $separator = '_')
    {
        if (!is_array($groups)) {
            $groups = array($groups);
        }

        foreach ($groups as $group) {
            $values = $this->getVariables($group);

            $this->setEnvironmentVariables($values, $group, $separator);
        }
    }