public function addGlobals(array $globals)
    {
        foreach ($globals as $name => $value) {
            $this->addGlobalContext($name, $value);
        }
    }
public function addGlobals(array $globals)
    {
        foreach ($globals as $name => $value) {
            $this->addGlobalContext($name, $value);
        }
    }
public function addGlobals ( array $ globals ) { foreach ( $ globals as $ name => $ value ) { $ this -> addGlobalContext ( $ name , $ value ) ; } }
Adds globals to the template.

@param array $globals
Adds globals to the template .