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

53 lines
968 B
Markdown

---
title: danog\MadelineProto\Settings\Database\Memory: Memory backend settings.
description:
---
# `danog\MadelineProto\Settings\Database\Memory`
[Back to index](../../../../index.md)
> 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](https://phpdoc.daniil.it)
### `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](https://phpdoc.daniil.it)
### `hasChanged(): bool`
Get whether this setting was changed, also applies changes.
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)