public static function copyTpl(CommandEvent $event)
    {
        $config = self::getOptions($event);

        /* symlink the tpl files from the teleport library */
        $sources = new Finder();
        $sources->files()->ignoreVCS(true)->ignoreDotFiles(true)->name('*.tpl.json')->name('*.php')->in(dirname(dirname(__DIR__)) . '/tpl');

        foreach ($sources as $source) {
            self::copyFile($event, dirname(dirname(__DIR__)) . '/tpl', $source, $config);
        }
    }
public static function copyTpl(CommandEvent $event)
    {
        $config = self::getOptions($event);

        /* symlink the tpl files from the teleport library */
        $sources = new Finder();
        $sources->files()->ignoreVCS(true)->ignoreDotFiles(true)->name('*.tpl.json')->name('*.php')->in(dirname(dirname(__DIR__)) . '/tpl');

        foreach ($sources as $source) {
            self::copyFile($event, dirname(dirname(__DIR__)) . '/tpl', $source, $config);
        }
    }
public static function copyTpl ( CommandEvent $ event ) { $ config = self :: getOptions ( $ event ) ; /* symlink the tpl files from the teleport library */ $ sources = new Finder ( ) ; $ sources -> files ( ) -> ignoreVCS ( true ) -> ignoreDotFiles ( true ) -> name ( '*.tpl.json' ) -> name ( '*.php' ) -> in ( dirname ( dirname ( __DIR__ ) ) . '/tpl' ) ; foreach ( $ sources as $ source ) { self :: copyFile ( $ event , dirname ( dirname ( __DIR__ ) ) . '/tpl' , $ source , $ config ) ; } }
Copy teleport tpl files in local tpl directory.

@param CommandEvent $event The composer Event object.
Copy teleport tpl files in local tpl directory .