protected function makeTemponaryBackup(Hook $hook)
    {
        $folder = $this->createTempFolder();
        $this->filesystem->copyDirectory($hook->getPath(), $folder);

        $this->tempDirectories[$hook->name] = $folder;
    }
protected function makeTemponaryBackup(Hook $hook)
    {
        $folder = $this->createTempFolder();
        $this->filesystem->copyDirectory($hook->getPath(), $folder);

        $this->tempDirectories[$hook->name] = $folder;
    }
protected function makeTemponaryBackup ( Hook $ hook ) { $ folder = $ this -> createTempFolder ( ) ; $ this -> filesystem -> copyDirectory ( $ hook -> getPath ( ) , $ folder ) ; $ this -> tempDirectories [ $ hook -> name ] = $ folder ; }
Make temponary backup of hook.

@param \Larapack\Hooks\Hook $hook

@return void
Make temponary backup of hook .