add unset method

This commit is contained in:
2026-03-21 10:08:26 -04:00
parent 2ec3adba84
commit 69afb64cb1

View File

@@ -22,4 +22,9 @@ trait ContainerTrait
{ {
return $this->storage[$key] = $value; return $this->storage[$key] = $value;
} }
final protected function unset(string $key): null
{
unset($this->storage[$key]);
}
} }