src/Rocketeer/Services/Connections/Shell/Modules/Filesystem.php
public function removeFolder($folders = null)
    {
        $folders = (array) $folders;
        $folders = array_map([$this->paths, 'getFolder'], $folders);
        $folders = implode(' ', $folders);

        return $this->modulable->run('rm -rf '.$folders);
    }
public function removeFolder($folders = null)
    {
        $folders = (array) $folders;
        $folders = array_map([$this->paths, 'getFolder'], $folders);
        $folders = implode(' ', $folders);

        return $this->modulable->run('rm -rf '.$folders);
    }
public function removeFolder ( $ folders = null ) { $ folders = ( array ) $ folders ; $ folders = array_map ( [ $ this -> paths , 'getFolder' ] , $ folders ) ; $ folders = implode ( ' ' , $ folders ) ; return $ this -> modulable -> run ( 'rm -rf ' . $ folders ) ; }
Remove a folder in the application's folder.

@param array|string|null $folders The folder to remove

@return string The task
Remove a folder in the application s folder .