src/DemoDataInstaller.php
public function execute()
    {
        try {
            $this->filesystem->mirror($this->demoDataPath, $this->outPath);
        } catch (IOException $exception) {
            $items = [
                "Error occurred while copying files:",
                $exception->getMessage(),
                "\n"
            ];
            $message = implode(" ", $items);
            echo $message;
            return 1;
        }
        return 0;
    }
public function execute()
    {
        try {
            $this->filesystem->mirror($this->demoDataPath, $this->outPath);
        } catch (IOException $exception) {
            $items = [
                "Error occurred while copying files:",
                $exception->getMessage(),
                "\n"
            ];
            $message = implode(" ", $items);
            echo $message;
            return 1;
        }
        return 0;
    }
public function execute ( ) { try { $ this -> filesystem -> mirror ( $ this -> demoDataPath , $ this -> outPath ) ; } catch ( IOException $ exception ) { $ items = [ "Error occurred while copying files:" , $ exception -> getMessage ( ) , "\n" ] ; $ message = implode ( " " , $ items ) ; echo $ message ; return 1 ; } return 0 ; }
Copies DemoData images from vendor directory of needed edition
to the OXID eShop ``OUT`` directory.

@return int error code
Copies DemoData images from vendor directory of needed edition to the OXID eShop OUT directory .