public function update(Manifest $manifest)
    {
        try {
            $this->fs->mirror(
                $this->pluginsDirectory . DIRECTORY_SEPARATOR . $manifest->getName() . DIRECTORY_SEPARATOR . 'public',
                $this->rootPath . DIRECTORY_SEPARATOR . 'www' . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . $manifest->getName()
            );
        } catch (IOException $e) {
            throw new RuntimeException(
                sprintf('Unable to copy assets for plugin %s', $manifest->getName()), $e->getCode(), $e
            );
        }
    }
public function update(Manifest $manifest)
    {
        try {
            $this->fs->mirror(
                $this->pluginsDirectory . DIRECTORY_SEPARATOR . $manifest->getName() . DIRECTORY_SEPARATOR . 'public',
                $this->rootPath . DIRECTORY_SEPARATOR . 'www' . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . $manifest->getName()
            );
        } catch (IOException $e) {
            throw new RuntimeException(
                sprintf('Unable to copy assets for plugin %s', $manifest->getName()), $e->getCode(), $e
            );
        }
    }
public function update ( Manifest $ manifest ) { try { $ this -> fs -> mirror ( $ this -> pluginsDirectory . DIRECTORY_SEPARATOR . $ manifest -> getName ( ) . DIRECTORY_SEPARATOR . 'public' , $ this -> rootPath . DIRECTORY_SEPARATOR . 'www' . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . $ manifest -> getName ( ) ) ; } catch ( IOException $ e ) { throw new RuntimeException ( sprintf ( 'Unable to copy assets for plugin %s' , $ manifest -> getName ( ) ) , $ e -> getCode ( ) , $ e ) ; } }
Updates plugins assets so that they are available online.

@param Manifest $manifest

@throws RuntimeException
Updates plugins assets so that they are available online .