public function freeProject() { try { $this->data = $this->getEmptyStorage(); $this->updateStorage(); } catch (Error $ex) { return false; } catch (Exception $ex) { return false; } return true; }