private function copyVendorAssets()
    {
        $modules = [];
        $moduleLoader = new Loader($this->di);
        $moduleLoader->dumpModulesFromVendor($modules);

        $publicAssetsDir = $this->getOption('d', APP_ROOT.DIRECTORY_SEPARATOR.'public'.DIRECTORY_SEPARATOR.'assets');


        if ($modules) {
            foreach ($modules as $moduleName => $module) {
                $assetsDir = dirname($module['path']) . '/../assets';

                if (file_exists($assetsDir)) {
                    $this->putText("- " . $moduleName . "...");

                    $this->copyRecursive($assetsDir, $publicAssetsDir);
                }
            }
        }
    }
private function copyVendorAssets()
    {
        $modules = [];
        $moduleLoader = new Loader($this->di);
        $moduleLoader->dumpModulesFromVendor($modules);

        $publicAssetsDir = $this->getOption('d', APP_ROOT.DIRECTORY_SEPARATOR.'public'.DIRECTORY_SEPARATOR.'assets');


        if ($modules) {
            foreach ($modules as $moduleName => $module) {
                $assetsDir = dirname($module['path']) . '/../assets';

                if (file_exists($assetsDir)) {
                    $this->putText("- " . $moduleName . "...");

                    $this->copyRecursive($assetsDir, $publicAssetsDir);
                }
            }
        }
    }
private function copyVendorAssets ( ) { $ modules = [ ] ; $ moduleLoader = new Loader ( $ this -> di ) ; $ moduleLoader -> dumpModulesFromVendor ( $ modules ) ; $ publicAssetsDir = $ this -> getOption ( 'd' , APP_ROOT . DIRECTORY_SEPARATOR . 'public' . DIRECTORY_SEPARATOR . 'assets' ) ; if ( $ modules ) { foreach ( $ modules as $ moduleName => $ module ) { $ assetsDir = dirname ( $ module [ 'path' ] ) . '/../assets' ; if ( file_exists ( $ assetsDir ) ) { $ this -> putText ( "- " . $ moduleName . "..." ) ; $ this -> copyRecursive ( $ assetsDir , $ publicAssetsDir ) ; } } } }
Copies all assets vendor modules
@internal
Copies all assets vendor modules