public function installAssets($targetFolder = "web", $force = false)
    {
        $sourceDir = $this->pluginDir . '/Resources/public';
        $targetDir = $this->rootDir . '/' . $targetFolder . '/plugins/' . strtolower($this->name);
        if (is_dir($targetDir) && !$force) {
            return;
        }

        $this->filesystem->symlink($sourceDir, $targetDir, true);
    }
public function installAssets($targetFolder = "web", $force = false)
    {
        $sourceDir = $this->pluginDir . '/Resources/public';
        $targetDir = $this->rootDir . '/' . $targetFolder . '/plugins/' . strtolower($this->name);
        if (is_dir($targetDir) && !$force) {
            return;
        }

        $this->filesystem->symlink($sourceDir, $targetDir, true);
    }
public function installAssets ( $ targetFolder = "web" , $ force = false ) { $ sourceDir = $ this -> pluginDir . '/Resources/public' ; $ targetDir = $ this -> rootDir . '/' . $ targetFolder . '/plugins/' . strtolower ( $ this -> name ) ; if ( is_dir ( $ targetDir ) && ! $ force ) { return ; } $ this -> filesystem -> symlink ( $ sourceDir , $ targetDir , true ) ; }
Installs plugin assets

@param string $targetFolder
@param bool $force
Installs plugin assets