MadelineProtoDocs/docs/PHP/danog/MadelineProto/Settings/Database/Memory.md

968 B

title: danog\MadelineProto\Settings\Database\Memory: Memory backend settings. description:

danog\MadelineProto\Settings\Database\Memory

Back to index

Author: Daniil Gentili daniil@daniil.it

Memory backend settings.

Method list:

  • getCleanup(): bool
  • setCleanup(bool $cleanup): self
  • hasChanged(): bool

Methods:

getCleanup(): bool

Get whether to cleanup the memory before serializing.


Generated by danog/phpdoc

setCleanup(bool $cleanup): self

Set whether to cleanup the memory before serializing.

Parameters:

  • $cleanup: bool Whether to cleanup the memory before serializing.

Generated by danog/phpdoc

hasChanged(): bool

Get whether this setting was changed, also applies changes.


Generated by danog/phpdoc


Generated by danog/phpdoc