protected function publish($theme)
    {
        $theme = $theme instanceof Theme ? $theme : $this->laravel['themes']->find($theme);

        if (!is_null($theme)) {
            $assetsPath = $theme->getPath('assets');

            $destinationPath = public_path('themes/'.$theme->getLowerName());

            $this->laravel['files']->copyDirectory($assetsPath, $destinationPath);

            $this->line("Asset published from: <info>{$theme->getName()}</info>");
        }
    }
protected function publish($theme)
    {
        $theme = $theme instanceof Theme ? $theme : $this->laravel['themes']->find($theme);

        if (!is_null($theme)) {
            $assetsPath = $theme->getPath('assets');

            $destinationPath = public_path('themes/'.$theme->getLowerName());

            $this->laravel['files']->copyDirectory($assetsPath, $destinationPath);

            $this->line("Asset published from: <info>{$theme->getName()}</info>");
        }
    }
protected function publish ( $ theme ) { $ theme = $ theme instanceof Theme ? $ theme : $ this -> laravel [ 'themes' ] -> find ( $ theme ) ; if ( ! is_null ( $ theme ) ) { $ assetsPath = $ theme -> getPath ( 'assets' ) ; $ destinationPath = public_path ( 'themes/' . $ theme -> getLowerName ( ) ) ; $ this -> laravel [ 'files' ] -> copyDirectory ( $ assetsPath , $ destinationPath ) ; $ this -> line ( "Asset published from: <info>{$theme->getName()}</info>" ) ; } }
Publish theme.

@param mixed $theme
Publish theme .