root()); # We may not have permissions to delete the dir try { unlink($this->root()); } catch (\Exception $e) { } } protected function root() { return __DIR__ . '/../..'; } }