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

794 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.

setCleanup(bool $cleanup): self

Set whether to cleanup the memory before serializing.

Parameters:

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

hasChanged(): bool

Get whether this setting was changed, also applies changes.


Generated by danog/phpdoc