* @return void
*/
public function injectConfigVariables (array $variables) {
- // Set it
- $this->varStack['config'] = $variables;
+ // "Inject" all
+ foreach ($variables as $name => $value) {
+ // Set variable with name for 'config' group
+ $this->setVariable('config', $name, $value);
+ } // END - foreach
}
/**