protected function createFolders()
    {
        foreach ($this->getFolderStructure() as $folder) {
            $newFolder = $this->twigStringRenderer->renderToString($folder, $this->data);
            $this->fs->mkdir($this->targetPath.DIRECTORY_SEPARATOR.$newFolder, self::DIRECTORY_MODE);

            $msg = '[mkdir] '.$this->targetPath.DIRECTORY_SEPARATOR.$newFolder;
            if ($this->reportingEnabled) {
                $this->report[] =$msg;
            }
        }
    }
protected function createFolders()
    {
        foreach ($this->getFolderStructure() as $folder) {
            $newFolder = $this->twigStringRenderer->renderToString($folder, $this->data);
            $this->fs->mkdir($this->targetPath.DIRECTORY_SEPARATOR.$newFolder, self::DIRECTORY_MODE);

            $msg = '[mkdir] '.$this->targetPath.DIRECTORY_SEPARATOR.$newFolder;
            if ($this->reportingEnabled) {
                $this->report[] =$msg;
            }
        }
    }
protected function createFolders ( ) { foreach ( $ this -> getFolderStructure ( ) as $ folder ) { $ newFolder = $ this -> twigStringRenderer -> renderToString ( $ folder , $ this -> data ) ; $ this -> fs -> mkdir ( $ this -> targetPath . DIRECTORY_SEPARATOR . $ newFolder , self :: DIRECTORY_MODE ) ; $ msg = '[mkdir] ' . $ this -> targetPath . DIRECTORY_SEPARATOR . $ newFolder ; if ( $ this -> reportingEnabled ) { $ this -> report [ ] = $ msg ; } } }
Creates all folders specified by getFolderStructure within the target
location.
Creates all folders specified by getFolderStructure within the target location .