public function addGlobal($name, $value)
    {
        $this->createTwig();
        $this->twig->addGlobal($name, $value);
    }
public function addGlobal($name, $value)
    {
        $this->createTwig();
        $this->twig->addGlobal($name, $value);
    }
public function addGlobal ( $ name , $ value ) { $ this -> createTwig ( ) ; $ this -> twig -> addGlobal ( $ name , $ value ) ; }
Registers a Global

@param string $name  The global name
@param mixed  $value The global value
Registers a Global