Skip to content

Commit

Permalink
Merge pull request #219 from tw2066/setting
Browse files Browse the repository at this point in the history
add clear
  • Loading branch information
isublimity committed Jul 17, 2024
2 parents e1fd7c4 + 27448f9 commit ba32b01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,9 @@ public function getSetting(string $name)

return $this->get($name);
}

public function clear():void
{
$this->settings = [];
}
}

0 comments on commit ba32b01

Please sign in to comment.