public function addGlobal() {
        foreach ($this->getIndex() as $k => $v) {
            if (null === $v) {
                continue;
            }
            $this->getTwigEnvironment()->addGlobal(str_replace("Interface", "", $k), $this->getProviders()[$v]);
        }
    }