mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add Memory::flush method
This commit is contained in:
parent
3123bd14c3
commit
0e64ab08ff
1 changed files with 5 additions and 0 deletions
|
|
@ -25,4 +25,9 @@ class Memory
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function flush(): void
|
||||||
|
{
|
||||||
|
$this->_memory = [];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue