Devise\Support\Console\DeviseUpgradeCommand::copyPublicAssets PHP Method

copyPublicAssets() protected method

Copies the public assets over to the application
protected copyPublicAssets ( ) : void
return void
    protected function copyPublicAssets()
    {
        $target = $this->__DIR__ . '/../../../../public';
        $source = $this->public_path . '/packages/devisephp/cms';
        $difference = $this->FileDiff->different($target, $source);
        $difference = $this->askAboutDifferences($difference);
        $missing = $this->FileDiff->missing($target, $source);
        $files = array_merge($missing, $difference);
        $this->copyFiles($files, $target, $source);
    }