protected function configFor($name)
    {
        // Return cached result
        if (array_key_exists($name, $this->configs)) {
            return $this->configs[$name];
        }

        $config = Config::inst()->get(Injector::class, $name);
        $this->configs[$name] = $config;
        return $config;
    }