src/Extension/ExtensionManager.php
protected function publishAssets(Extension $extension)
    {
        if ($extension->hasAssets()) {
            $this->filesystem->copyDirectory(
                $extension->getPath().'/assets',
                $this->app->publicPath().'/assets/extensions/'.$extension->getId()
            );
        }
    }
protected function publishAssets(Extension $extension)
    {
        if ($extension->hasAssets()) {
            $this->filesystem->copyDirectory(
                $extension->getPath().'/assets',
                $this->app->publicPath().'/assets/extensions/'.$extension->getId()
            );
        }
    }
protected function publishAssets ( Extension $ extension ) { if ( $ extension -> hasAssets ( ) ) { $ this -> filesystem -> copyDirectory ( $ extension -> getPath ( ) . '/assets' , $ this -> app -> publicPath ( ) . '/assets/extensions/' . $ extension -> getId ( ) ) ; } }
Copy the assets from an extension's assets directory into public view.

@param Extension $extension
Copy the assets from an extension s assets directory into public view .