public function publish($targetDir = null, array $extensions = array())
    {
        if (!$targetDir) {
            $targetDir = $this->targetDir;
        }

        $this->publishResources($targetDir, $extensions);
        $this->publishThemeFiles($targetDir, $extensions);

        return $this;
    }