public function uninstall() { $path = $this->getComposerPath(); if (file_exists($path)) { @unlink($path); } parent::uninstall(); }