protected function setConfig($env = 'development')
    {
        // env
        define('WP_ENV', $env);

        // other configs
        $configs = array_merge(
            $this->minimal,
            array_keys($this->getArrayDot($this->config, "config", [])),
            array_keys($this->getArrayDot($this->config, "env.{$env}.config", []))
        );
        foreach ($configs as $config) {
            if (!defined($config)) {
                define($config, $this->getConfig($config));
            }
        }
    }