Skip to content

Commit ba32b01

Browse files
authored
Merge pull request #219 from tw2066/setting
add clear
2 parents e1fd7c4 + 27448f9 commit ba32b01

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Settings.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,4 +219,9 @@ public function getSetting(string $name)
219219

220220
return $this->get($name);
221221
}
222+
223+
public function clear():void
224+
{
225+
$this->settings = [];
226+
}
222227
}

0 commit comments

Comments
 (0)