This commit is contained in:
Daniil Gentili 2020-10-15 19:17:32 +02:00
parent e49a06e9b6
commit 1d6a61c4ce
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 28 additions and 90 deletions

View File

@ -15,8 +15,6 @@ Settings class used for configuring MadelineProto.
## Method list:
* `parseFromLegacy(\danog\MadelineProto\SettingsAbstract|array $settings): \danog\MadelineProto\SettingsAbstract`
* `mergeArray(array $settings): void`
* `merge(\danog\MadelineProto\SettingsAbstract $settings): void`
* `getDefaultDc(): int`
* `getDefaultDcParams(): array`
@ -52,35 +50,6 @@ Settings class used for configuring MadelineProto.
* `hasChanged(): bool`
## Methods:
### `parseFromLegacy(\danog\MadelineProto\SettingsAbstract|array $settings): \danog\MadelineProto\SettingsAbstract`
Create settings object from possibly legacy settings array.
Parameters:
* `$settings`: `\danog\MadelineProto\SettingsAbstract|array` Settings
#### See also:
* `\danog\MadelineProto\SettingsAbstract`
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
### `mergeArray(array $settings): void`
Merge legacy array settings.
Parameters:
* `$settings`: `array` Settings
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
### `merge(\danog\MadelineProto\SettingsAbstract $settings): void`
Merge another instance of settings.
@ -132,7 +101,7 @@ Get app information.
#### See also:
* [`\danog\MadelineProto\Settings\AppInfo`: App information.](AppInfo.md)
* [`\danog\MadelineProto\Settings\AppInfo`: App information.](./Settings/AppInfo.md)
@ -149,7 +118,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\AppInfo`: App information.](AppInfo.md)
* [`\danog\MadelineProto\Settings\AppInfo`: App information.](./Settings/AppInfo.md)
@ -162,7 +131,7 @@ Get cryptography settings.
#### See also:
* [`\danog\MadelineProto\Settings\Auth`: Cryptography settings.](Auth.md)
* [`\danog\MadelineProto\Settings\Auth`: Cryptography settings.](./Settings/Auth.md)
@ -179,7 +148,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\Auth`: Cryptography settings.](Auth.md)
* [`\danog\MadelineProto\Settings\Auth`: Cryptography settings.](./Settings/Auth.md)
@ -192,7 +161,7 @@ Get connection settings.
#### See also:
* [`\danog\MadelineProto\Settings\Connection`: Connection settings.](Connection.md)
* [`\danog\MadelineProto\Settings\Connection`: Connection settings.](./Settings/Connection.md)
@ -209,7 +178,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\Connection`: Connection settings.](Connection.md)
* [`\danog\MadelineProto\Settings\Connection`: Connection settings.](./Settings/Connection.md)
@ -222,7 +191,7 @@ Get file management settings.
#### See also:
* [`\danog\MadelineProto\Settings\Files`: File management settings.](Files.md)
* [`\danog\MadelineProto\Settings\Files`: File management settings.](./Settings/Files.md)
@ -239,7 +208,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\Files`: File management settings.](Files.md)
* [`\danog\MadelineProto\Settings\Files`: File management settings.](./Settings/Files.md)
@ -252,7 +221,7 @@ Get logger settings.
#### See also:
* [`\danog\MadelineProto\Settings\Logger`: Logger settings.](Logger.md)
* [`\danog\MadelineProto\Settings\Logger`: Logger settings.](./Settings/Logger.md)
@ -269,7 +238,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\Logger`: Logger settings.](Logger.md)
* [`\danog\MadelineProto\Settings\Logger`: Logger settings.](./Settings/Logger.md)
@ -282,7 +251,7 @@ Get peer database settings.
#### See also:
* [`\danog\MadelineProto\Settings\Peer`: Peer database settings.](Peer.md)
* [`\danog\MadelineProto\Settings\Peer`: Peer database settings.](./Settings/Peer.md)
@ -299,7 +268,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\Peer`: Peer database settings.](Peer.md)
* [`\danog\MadelineProto\Settings\Peer`: Peer database settings.](./Settings/Peer.md)
@ -312,7 +281,7 @@ Get PWRTelegram settings.
#### See also:
* [`\danog\MadelineProto\Settings\Pwr`: PWRTelegram settings.](Pwr.md)
* [`\danog\MadelineProto\Settings\Pwr`: PWRTelegram settings.](./Settings/Pwr.md)
@ -329,7 +298,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\Pwr`: PWRTelegram settings.](Pwr.md)
* [`\danog\MadelineProto\Settings\Pwr`: PWRTelegram settings.](./Settings/Pwr.md)
@ -342,7 +311,7 @@ Get RPC settings.
#### See also:
* [`\danog\MadelineProto\Settings\RPC`: RPC settings.](RPC.md)
* [`\danog\MadelineProto\Settings\RPC`: RPC settings.](./Settings/RPC.md)
@ -359,7 +328,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\RPC`: RPC settings.](RPC.md)
* [`\danog\MadelineProto\Settings\RPC`: RPC settings.](./Settings/RPC.md)
@ -372,7 +341,7 @@ Get secret chat settings.
#### See also:
* [`\danog\MadelineProto\Settings\SecretChats`: Secret chat settings.](SecretChats.md)
* [`\danog\MadelineProto\Settings\SecretChats`: Secret chat settings.](./Settings/SecretChats.md)
@ -389,7 +358,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\SecretChats`: Secret chat settings.](SecretChats.md)
* [`\danog\MadelineProto\Settings\SecretChats`: Secret chat settings.](./Settings/SecretChats.md)
@ -402,7 +371,7 @@ Get serialization settings.
#### See also:
* [`\danog\MadelineProto\Settings\Serialization`: Serialization settings.](Serialization.md)
* [`\danog\MadelineProto\Settings\Serialization`: Serialization settings.](./Settings/Serialization.md)
@ -419,7 +388,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\Serialization`: Serialization settings.](Serialization.md)
* [`\danog\MadelineProto\Settings\Serialization`: Serialization settings.](./Settings/Serialization.md)
@ -432,7 +401,7 @@ Get TL schema settings.
#### See also:
* [`\danog\MadelineProto\Settings\TLSchema`: TL schema settings.](TLSchema.md)
* [`\danog\MadelineProto\Settings\TLSchema`: TL schema settings.](./Settings/TLSchema.md)
@ -449,7 +418,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\TLSchema`: TL schema settings.](TLSchema.md)
* [`\danog\MadelineProto\Settings\TLSchema`: TL schema settings.](./Settings/TLSchema.md)
@ -462,7 +431,7 @@ Get database settings.
#### See also:
* [`\danog\MadelineProto\Settings\DatabaseAbstract`: Base class for storage backends.](DatabaseAbstract.md)
* [`\danog\MadelineProto\Settings\DatabaseAbstract`: Base class for storage backends.](./Settings/DatabaseAbstract.md)
@ -479,7 +448,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\DatabaseAbstract`: Base class for storage backends.](DatabaseAbstract.md)
* [`\danog\MadelineProto\Settings\DatabaseAbstract`: Base class for storage backends.](./Settings/DatabaseAbstract.md)
@ -492,7 +461,7 @@ Get IPC server settings.
#### See also:
* [`\danog\MadelineProto\Settings\Ipc`: IPC server settings.](Ipc.md)
* [`\danog\MadelineProto\Settings\Ipc`: IPC server settings.](./Settings/Ipc.md)
@ -509,7 +478,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\Ipc`: IPC server settings.](Ipc.md)
* [`\danog\MadelineProto\Settings\Ipc`: IPC server settings.](./Settings/Ipc.md)
@ -522,7 +491,7 @@ Get template settings.
#### See also:
* [`\danog\MadelineProto\Settings\Templates`: Web and CLI template settings for login.](Templates.md)
* [`\danog\MadelineProto\Settings\Templates`: Web and CLI template settings for login.](./Settings/Templates.md)
@ -539,7 +508,7 @@ Parameters:
#### See also:
* [`\danog\MadelineProto\Settings\Templates`: Web and CLI template settings for login.](Templates.md)
* [`\danog\MadelineProto\Settings\Templates`: Web and CLI template settings for login.](./Settings/Templates.md)

View File

@ -15,8 +15,6 @@ Settings class used for configuring MadelineProto.
## Method list:
* `parseFromLegacy(\danog\MadelineProto\SettingsAbstract|array $settings): \danog\MadelineProto\SettingsAbstract`
* `mergeArray(array $settings): void`
* `merge(\danog\MadelineProto\SettingsAbstract $settings): void`
* `getDefaultDc(): int`
* `getDefaultDcParams(): array`
@ -52,35 +50,6 @@ Settings class used for configuring MadelineProto.
* `hasChanged(): bool`
## Methods:
### `parseFromLegacy(\danog\MadelineProto\SettingsAbstract|array $settings): \danog\MadelineProto\SettingsAbstract`
Create settings object from possibly legacy settings array.
Parameters:
* `$settings`: `\danog\MadelineProto\SettingsAbstract|array` Settings
#### See also:
* `\danog\MadelineProto\SettingsAbstract`
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
### `mergeArray(array $settings): void`
Merge legacy array settings.
Parameters:
* `$settings`: `array` Settings
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
### `merge(\danog\MadelineProto\SettingsAbstract $settings): void`
Merge another instance of settings.