private function setUrls($baseDirectory, $type)
    {
        switch ($type) {
            case 'wordpress-plugin':
                $pluginUrl = plugins_url(basename($baseDirectory));
                $baseUrl = Url::addBackSlash($pluginUrl);
                break;
            default:
                $baseUrl = Url::getBaseUrl();
                break;
        }

        $this->setOption('ROOT_URL', $baseUrl);
        $this->setOption('PUBLIC_URL', $baseUrl . 'public/');
        $this->setOption('MODULES_URL', $baseUrl . 'modules/');
        $this->setOption('PLUGINS_URL', $baseUrl . 'plugins/');
        $this->setOption('TEMPLATES_URL', $baseUrl . 'templates/');
        $this->setOption('COMPONENTS_URL', $baseUrl . 'components/');
    }