private function clearDirectory($path)
    {
        $this->debug("Clear directory: {$path}");
        $this->delete($path);
        $this->makeDirectory($path);
    }
private function clearDirectory($path)
    {
        $this->debug("Clear directory: {$path}");
        $this->delete($path);
        $this->makeDirectory($path);
    }
private function clearDirectory ( $ path ) { $ this -> debug ( "Clear directory: {$path}" ) ; $ this -> delete ( $ path ) ; $ this -> makeDirectory ( $ path ) ; }
Clear directory on server of all content

@param $path
Clear directory on server of all content