Do not delete remember it is a great helper #25
CrazyBoy49z
started this conversation in
Ideas
Replies: 1 comment
-
|
Hey @CrazyBoy49z -$this->remember('key', 'value');
+$this->memory->put('key', 'value');
-$this->forget(key');
+$this->memory->forget('key');Why I decided to remove this syntax sugar: sometimes you need more methods to work with "memory", but we can't keep adding syntax sugar for them and more and more duplicate existing Laravel collections functionality. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Do not delete remember it is a great helper
https://github.com/koot-labs/telegram-bot-dialogs/blob/master/src/Dialog.php#L203
And forget
https://github.com/koot-labs/telegram-bot-dialogs/blob/master/src/Dialog.php#L212
Beta Was this translation helpful? Give feedback.
All reactions