private function copyCmfAssets()
    {
        $vegasCmfPath = APP_ROOT . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'vegas-cmf';
        $publicAssetsDir = $this->getOption('d', APP_ROOT.DIRECTORY_SEPARATOR.'public'.DIRECTORY_SEPARATOR.'assets');

        $handle = opendir($vegasCmfPath);

        if ($handle) {
            while (false !== ($entry = readdir($handle))) {
                if ($entry == "." || $entry == "..") {
                    continue;
                }

                $assetsDir = $vegasCmfPath.DIRECTORY_SEPARATOR.$entry.DIRECTORY_SEPARATOR.'assets';
                if (file_exists($assetsDir)) {
                    $this->copyRecursive($assetsDir, $publicAssetsDir);
                }
            }
            closedir($handle);
        }
    }
private function copyCmfAssets()
    {
        $vegasCmfPath = APP_ROOT . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'vegas-cmf';
        $publicAssetsDir = $this->getOption('d', APP_ROOT.DIRECTORY_SEPARATOR.'public'.DIRECTORY_SEPARATOR.'assets');

        $handle = opendir($vegasCmfPath);

        if ($handle) {
            while (false !== ($entry = readdir($handle))) {
                if ($entry == "." || $entry == "..") {
                    continue;
                }

                $assetsDir = $vegasCmfPath.DIRECTORY_SEPARATOR.$entry.DIRECTORY_SEPARATOR.'assets';
                if (file_exists($assetsDir)) {
                    $this->copyRecursive($assetsDir, $publicAssetsDir);
                }
            }
            closedir($handle);
        }
    }
private function copyCmfAssets ( ) { $ vegasCmfPath = APP_ROOT . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'vegas-cmf' ; $ publicAssetsDir = $ this -> getOption ( 'd' , APP_ROOT . DIRECTORY_SEPARATOR . 'public' . DIRECTORY_SEPARATOR . 'assets' ) ; $ handle = opendir ( $ vegasCmfPath ) ; if ( $ handle ) { while ( false !== ( $ entry = readdir ( $ handle ) ) ) { if ( $ entry == "." || $ entry == ".." ) { continue ; } $ assetsDir = $ vegasCmfPath . DIRECTORY_SEPARATOR . $ entry . DIRECTORY_SEPARATOR . 'assets' ; if ( file_exists ( $ assetsDir ) ) { $ this -> copyRecursive ( $ assetsDir , $ publicAssetsDir ) ; } } closedir ( $ handle ) ; } }
Copies all assets from vegas-cmf libraries
@internal
Copies all assets from vegas - cmf libraries