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

47 lines
794 B
Markdown
Raw Normal View History

2020-10-15 18:42:54 +02:00
---
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.
### `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.
2020-10-15 19:11:10 +02:00
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)