public function setVariable($name, $value)
    {
        if ($value === null) {
            return $this->removeVariable($name);
        }
        
        return $this->getScopeRoot()->setVariableLocal($name, $value);
    }