Update
This commit is contained in:
parent
683b99d5c4
commit
e49a06e9b6
File diff suppressed because it is too large
Load Diff
@ -18,8 +18,6 @@ value is sent into the generator, while a failure reason is thrown into the gene
|
||||
asynchronous code can be written without callbacks and be structured like synchronous code.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `fail(\Throwable $reason): void`
|
||||
* `offsetGet(mixed $offset): \Amp\Promise`
|
||||
@ -43,6 +41,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetGet(mixed $offset): \Amp\Promise`
|
||||
|
||||
@ -58,28 +58,40 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTrace(): array`
|
||||
|
||||
Get current stack trace for running coroutine.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getFrame(): array`
|
||||
|
||||
Get current execution frame.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `jsonSerialize(): string`
|
||||
|
||||
Obtain.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `onResolve()`
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ DB array interface.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getArrayCopy(): \Amp\Promise`
|
||||
* `isset(string|int $key): \Amp\Promise`
|
||||
@ -42,6 +40,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset(string|int $key): \Amp\Promise`
|
||||
|
||||
@ -61,6 +61,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetGet(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -81,6 +83,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string|int $index, mixed $value): void`
|
||||
|
||||
@ -101,6 +105,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -116,6 +122,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Amp\Promise<int>`
|
||||
|
||||
@ -127,12 +135,16 @@ Count number of elements.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getIterator()`
|
||||
|
||||
Get iterator.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, null|\danog\MadelineProto\Db\DbType|array $value, \danog\MadelineProto\Settings\DatabaseAbstract $settings): \Amp\Promise<self>`
|
||||
|
||||
@ -151,4 +163,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,10 +14,10 @@ This factory class initializes the correct database backend for MadelineProto.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Constants
|
||||
* `danog\MadelineProto\Db\DbPropertiesFactory::TYPE_ARRAY`: Indicates a simple K-V array stored in a database backend.
|
||||
|
||||
Values can be objects or other arrays, but when lots of nesting is required, it's best to split the array into multiple arrays.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -18,7 +18,7 @@ You will have to define a `$dbProperties` static array property, with a list of
|
||||
|
||||
|
||||
|
||||
|
||||
## Properties
|
||||
* `$dbProperties`: `array<string, DbPropertiesFactory::TYPE_*>`
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Properties
|
||||
* `$dbProperties`: `array<string, DbPropertiesFactory::TYPE_*>`
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ MySQL driver wrapper.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Mysql\Pool>`
|
||||
|
||||
@ -41,4 +39,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Postgres driver wrapper.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Postgres\Pool>`
|
||||
|
||||
@ -41,4 +39,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Redis driver wrapper.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator`
|
||||
|
||||
@ -46,4 +44,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Array caching trait.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getArrayCopy(): \Amp\Promise`
|
||||
* `isset(string|int $key): \Amp\Promise`
|
||||
@ -42,6 +40,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset(string|int $key): \Amp\Promise`
|
||||
|
||||
@ -61,6 +61,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetGet(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -81,6 +83,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string|int $index, mixed $value): void`
|
||||
|
||||
@ -101,6 +105,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -116,6 +122,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Amp\Promise<int>`
|
||||
|
||||
@ -127,12 +135,16 @@ Count number of elements.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getIterator()`
|
||||
|
||||
Get iterator.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, null|\danog\MadelineProto\Db\DbType|array $value, \danog\MadelineProto\Settings\DatabaseAbstract $settings): \Amp\Promise<self>`
|
||||
|
||||
@ -151,4 +163,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Memory database backend.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Constants
|
||||
* `danog\MadelineProto\Db\MemoryArray::STD_PROP_LIST`:
|
||||
|
||||
@ -43,4 +41,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ MySQL database backend.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `initStartup(): \Generator`
|
||||
* `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
@ -37,6 +35,8 @@ Initialize on startup.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
|
||||
@ -49,6 +49,8 @@ Parameters:
|
||||
|
||||
Return value: true if the offset exists, otherwise false
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string|int $index, $value)`
|
||||
|
||||
@ -62,6 +64,8 @@ The index to set for.
|
||||
* `$value`: ``
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -79,6 +83,8 @@ The offset to unset.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Promise<int> The number of elements or public properties in the associated
|
||||
array or object, respectively.`
|
||||
@ -89,6 +95,8 @@ Count elements.
|
||||
Return value: The number of elements or public properties in the associated
|
||||
array or object, respectively.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `initConnection(\danog\MadelineProto\Settings\Database\Mysql $settings): \Generator`
|
||||
|
||||
@ -105,6 +113,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise`
|
||||
|
||||
@ -128,4 +138,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Postgres database backend.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `initStartup(): \Generator`
|
||||
* `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator`
|
||||
@ -38,6 +36,8 @@ Initialize on startup.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator`
|
||||
|
||||
@ -54,6 +54,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string $index, $value)`
|
||||
|
||||
@ -67,6 +69,8 @@ The index to set for.
|
||||
* `$value`: ``
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
|
||||
@ -79,6 +83,8 @@ Parameters:
|
||||
|
||||
Return value: true if the offset exists, otherwise false
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string $index): \Amp\Promise`
|
||||
|
||||
@ -96,6 +102,8 @@ The offset to unset.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getArrayCopy(): \Amp\Promise<array>`
|
||||
|
||||
@ -107,6 +115,8 @@ Get array copy.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Promise<int> The number of elements or public properties in the associated
|
||||
array or object, respectively.`
|
||||
@ -117,6 +127,8 @@ Count elements.
|
||||
Return value: The number of elements or public properties in the associated
|
||||
array or object, respectively.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise`
|
||||
|
||||
@ -140,4 +152,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Redis database backend.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `initStartup(): \Generator`
|
||||
* `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator`
|
||||
@ -38,6 +36,8 @@ Initialize on startup.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator`
|
||||
|
||||
@ -54,6 +54,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string $index, $value)`
|
||||
|
||||
@ -67,6 +69,8 @@ The index to set for.
|
||||
* `$value`: ``
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
|
||||
@ -79,6 +83,8 @@ Parameters:
|
||||
|
||||
Return value: true if the offset exists, otherwise false
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string $index): \Amp\Promise`
|
||||
|
||||
@ -96,6 +102,8 @@ The offset to unset.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getArrayCopy(): \Amp\Promise<array>`
|
||||
|
||||
@ -107,6 +115,8 @@ Get array copy.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Promise<int> The number of elements or public properties in the associated
|
||||
array or object, respectively.`
|
||||
@ -117,6 +127,8 @@ Count elements.
|
||||
Return value: The number of elements or public properties in the associated
|
||||
array or object, respectively.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise`
|
||||
|
||||
@ -140,4 +152,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Generic SQL database backend.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise`
|
||||
* `getArrayCopy(): \Amp\Promise`
|
||||
@ -49,6 +47,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getArrayCopy(): \Amp\Promise`
|
||||
|
||||
@ -65,6 +65,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset(string|int $key): \Amp\Promise`
|
||||
|
||||
@ -84,6 +86,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetGet(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -104,6 +108,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string|int $index, mixed $value): void`
|
||||
|
||||
@ -124,6 +130,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -139,6 +147,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Amp\Promise<int>`
|
||||
|
||||
@ -150,10 +160,16 @@ Count number of elements.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getIterator()`
|
||||
|
||||
Get iterator.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -14,8 +14,6 @@ Basic exception.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `extension(string $extensionName): self`
|
||||
* `exceptionErrorHandler(): false`
|
||||
@ -35,18 +33,24 @@ Parameters:
|
||||
* `$extensionName`: `string` Extension name
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `exceptionErrorHandler(): false`
|
||||
|
||||
ExceptionErrorHandler.
|
||||
Error handler
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `exceptionHandler(): void`
|
||||
|
||||
ExceptionErrorHandler.
|
||||
Error handler
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `updateTLTrace(array $trace): void`
|
||||
|
||||
@ -57,12 +61,16 @@ Parameters:
|
||||
* `$trace`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTLTrace(): string`
|
||||
|
||||
Get TL trace.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setTLTrace(string $tlTrace): void`
|
||||
|
||||
@ -73,6 +81,8 @@ Parameters:
|
||||
* `$tlTrace`: `string` TL trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `prettifyTL(string $init, array $trace): void`
|
||||
|
||||
@ -84,4 +94,8 @@ Parameters:
|
||||
* `$trace`: `array` Async trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ File callback interface.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getFile(): mixed`
|
||||
|
||||
@ -25,4 +23,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get file.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ File callback interface.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getFile(): mixed`
|
||||
|
||||
@ -25,4 +23,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get file.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -13,6 +13,5 @@ MadelineProto fileserver.
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Logger class.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Constants
|
||||
* `danog\MadelineProto\Logger::LEVEL_ULTRA_VERBOSE`: Ultra verbose level.
|
||||
|
||||
@ -59,6 +57,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `log(mixed $param, int $level): void`
|
||||
|
||||
@ -70,6 +70,8 @@ Parameters:
|
||||
* `$level`: `int` Logging level
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `logger(mixed $param, int $level, string $file): void`
|
||||
|
||||
@ -82,6 +84,8 @@ Parameters:
|
||||
* `$file`: `string` File that originated the message
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPsrLogger(): \Psr\Log\LoggerInterface`
|
||||
|
||||
@ -93,4 +97,8 @@ Get PSR logger.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Lua interface.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `tdcliFunction(): \Generator|int`
|
||||
|
||||
@ -30,4 +28,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -14,8 +14,6 @@ Stores multiple update states.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `get(int $channel, array $init): \danog\MadelineProto\MTProtoTools\UpdatesState|\danog\MadelineProto\MTProtoTools\UpdatesState[]`
|
||||
* `remove(int $channel): void`
|
||||
@ -38,6 +36,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `remove(int $channel): void`
|
||||
|
||||
@ -48,6 +48,8 @@ Parameters:
|
||||
* `$channel`: `int` Channel whose state should be removed
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `has(int $channel): bool`
|
||||
|
||||
@ -58,6 +60,8 @@ Parameters:
|
||||
* `$channel`: `int` Channel ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `syncLoading(int $channel, bool|null $set): bool`
|
||||
|
||||
@ -69,4 +73,8 @@ Parameters:
|
||||
* `$set`: `bool|null` Busy flag to set before returning
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Obtain response information for file to server.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `parseHeaders(string $method, array $headers, array $messageMedia): self`
|
||||
* `getCodeExplanation(): string`
|
||||
@ -36,12 +34,16 @@ Parameters:
|
||||
* `$messageMedia`: `array` Media info
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getCodeExplanation(): string`
|
||||
|
||||
Get explanation for HTTP code.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `shouldServe(): \bool Whether to serve file`
|
||||
|
||||
@ -50,6 +52,8 @@ Whether to serve file.
|
||||
|
||||
Return value: Whether to serve file
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getServeRange(): \array HTTP serving range`
|
||||
|
||||
@ -58,6 +62,8 @@ Get serving range.
|
||||
|
||||
Return value: HTTP serving range
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getCode(): \int HTTP response code`
|
||||
|
||||
@ -66,6 +72,8 @@ Get HTTP response code.
|
||||
|
||||
Return value: HTTP response code
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getHeaders(): \array Header array`
|
||||
|
||||
@ -74,4 +82,8 @@ Get header array.
|
||||
|
||||
Return value: Header array
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Wrapper for my.telegram.org.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `login(string $number): \Generator`
|
||||
* `completeLogin(string $password): \Generator`
|
||||
@ -41,6 +39,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `completeLogin(string $password): \Generator`
|
||||
|
||||
@ -56,12 +56,16 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `loggedIn(): bool`
|
||||
|
||||
Whether we are logged in.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `hasApp(): \Generator`
|
||||
|
||||
@ -73,6 +77,8 @@ Check if an app was already created.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getApp(): \Generator`
|
||||
|
||||
@ -84,6 +90,8 @@ Get the currently created app.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `createApp(array $settings): \Generator`
|
||||
|
||||
@ -99,6 +107,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `async(bool $async): void`
|
||||
|
||||
@ -109,6 +119,8 @@ Parameters:
|
||||
* `$async`: `bool` Async
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `loop(callable $callable): mixed`
|
||||
|
||||
@ -119,4 +131,8 @@ Parameters:
|
||||
* `$callable`: `callable` Callable
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Internal error indicating a problem with Telegram's servers.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `updateTLTrace(array $trace): void`
|
||||
* `getTLTrace(): string`
|
||||
@ -32,12 +30,16 @@ Parameters:
|
||||
* `$trace`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTLTrace(): string`
|
||||
|
||||
Get TL trace.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setTLTrace(string $tlTrace): void`
|
||||
|
||||
@ -48,6 +50,8 @@ Parameters:
|
||||
* `$tlTrace`: `string` TL trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `prettifyTL(string $init, array $trace): void`
|
||||
|
||||
@ -59,4 +63,8 @@ Parameters:
|
||||
* `$trace`: `array` Async trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ PSR-3 wrapper for MadelineProto's Logger.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `log(mixed $level, string $message, array $context): void`
|
||||
* `emergency(string $message, array $context): void`
|
||||
@ -39,6 +37,8 @@ Parameters:
|
||||
* `$context`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `emergency(string $message, array $context): void`
|
||||
|
||||
@ -50,6 +50,8 @@ Parameters:
|
||||
* `$context`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `alert(string $message, array $context): void`
|
||||
|
||||
@ -62,6 +64,8 @@ Parameters:
|
||||
* `$context`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `critical(string $message, array $context): void`
|
||||
|
||||
@ -73,6 +77,8 @@ Parameters:
|
||||
* `$context`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `error(string $message, array $context): void`
|
||||
|
||||
@ -85,6 +91,8 @@ Parameters:
|
||||
* `$context`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `warning(string $message, array $context): void`
|
||||
|
||||
@ -97,6 +105,8 @@ Parameters:
|
||||
* `$context`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `notice(string $message, array $context): void`
|
||||
|
||||
@ -108,6 +118,8 @@ Parameters:
|
||||
* `$context`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `info(string $message, array $context): void`
|
||||
|
||||
@ -119,6 +131,8 @@ Parameters:
|
||||
* `$context`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `debug(string $message, array $context): void`
|
||||
|
||||
@ -130,4 +144,8 @@ Parameters:
|
||||
* `$context`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Indicates an error returned by Telegram's API.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getLocalization(): string`
|
||||
* `setLocalization(string $localization): void`
|
||||
@ -30,6 +28,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get localized error name.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setLocalization(string $localization): void`
|
||||
|
||||
@ -40,6 +40,8 @@ Parameters:
|
||||
* `$localization`: `string`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `updateTLTrace(array $trace): void`
|
||||
|
||||
@ -50,12 +52,16 @@ Parameters:
|
||||
* `$trace`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTLTrace(): string`
|
||||
|
||||
Get TL trace.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setTLTrace(string $tlTrace): void`
|
||||
|
||||
@ -66,6 +72,8 @@ Parameters:
|
||||
* `$tlTrace`: `string` TL trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `prettifyTL(string $init, array $trace): void`
|
||||
|
||||
@ -77,4 +85,8 @@ Parameters:
|
||||
* `$trace`: `array` Async trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -13,6 +13,5 @@ Indicates an error thrown when an unexpected response is received from telegram'
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -13,6 +13,5 @@ Indicates a security error.
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Settings class used for configuring MadelineProto.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `parseFromLegacy(\danog\MadelineProto\SettingsAbstract|array $settings): \danog\MadelineProto\SettingsAbstract`
|
||||
* `mergeArray(array $settings): void`
|
||||
@ -68,6 +66,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `mergeArray(array $settings): void`
|
||||
|
||||
@ -78,6 +78,8 @@ Parameters:
|
||||
* `$settings`: `array` Settings
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `merge(\danog\MadelineProto\SettingsAbstract $settings): void`
|
||||
|
||||
@ -93,18 +95,24 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDefaultDc(): int`
|
||||
|
||||
Get default DC ID.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDefaultDcParams(): array`
|
||||
|
||||
Get default DC params.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDefaultDc(int $dc): self`
|
||||
|
||||
@ -115,6 +123,8 @@ Parameters:
|
||||
* `$dc`: `int` DC ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getAppInfo(): \danog\MadelineProto\Settings\AppInfo`
|
||||
|
||||
@ -126,6 +136,8 @@ Get app information.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setAppInfo(\danog\MadelineProto\Settings\AppInfo $appInfo): self`
|
||||
|
||||
@ -141,6 +153,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getAuth(): \danog\MadelineProto\Settings\Auth`
|
||||
|
||||
@ -152,6 +166,8 @@ Get cryptography settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setAuth(\danog\MadelineProto\Settings\Auth $auth): self`
|
||||
|
||||
@ -167,6 +183,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getConnection(): \danog\MadelineProto\Settings\Connection`
|
||||
|
||||
@ -178,6 +196,8 @@ Get connection settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setConnection(\danog\MadelineProto\Settings\Connection $connection): self`
|
||||
|
||||
@ -193,6 +213,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getFiles(): \danog\MadelineProto\Settings\Files`
|
||||
|
||||
@ -204,6 +226,8 @@ Get file management settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setFiles(\danog\MadelineProto\Settings\Files $files): self`
|
||||
|
||||
@ -219,6 +243,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getLogger(): \danog\MadelineProto\Settings\Logger`
|
||||
|
||||
@ -230,6 +256,8 @@ Get logger settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setLogger(\danog\MadelineProto\Settings\Logger $logger): self`
|
||||
|
||||
@ -245,6 +273,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPeer(): \danog\MadelineProto\Settings\Peer`
|
||||
|
||||
@ -256,6 +286,8 @@ Get peer database settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setPeer(\danog\MadelineProto\Settings\Peer $peer): self`
|
||||
|
||||
@ -271,6 +303,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPwr(): \danog\MadelineProto\Settings\Pwr`
|
||||
|
||||
@ -282,6 +316,8 @@ Get PWRTelegram settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setPwr(\danog\MadelineProto\Settings\Pwr $pwr): self`
|
||||
|
||||
@ -297,6 +333,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getRpc(): \danog\MadelineProto\Settings\RPC`
|
||||
|
||||
@ -308,6 +346,8 @@ Get RPC settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setRpc(\danog\MadelineProto\Settings\RPC $rpc): self`
|
||||
|
||||
@ -323,6 +363,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getSecretChats(): \danog\MadelineProto\Settings\SecretChats`
|
||||
|
||||
@ -334,6 +376,8 @@ Get secret chat settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setSecretChats(\danog\MadelineProto\Settings\SecretChats $secretChats): self`
|
||||
|
||||
@ -349,6 +393,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getSerialization(): \danog\MadelineProto\Settings\Serialization`
|
||||
|
||||
@ -360,6 +406,8 @@ Get serialization settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setSerialization(\danog\MadelineProto\Settings\Serialization $serialization): self`
|
||||
|
||||
@ -375,6 +423,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getSchema(): \danog\MadelineProto\Settings\TLSchema`
|
||||
|
||||
@ -386,6 +436,8 @@ Get TL schema settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setSchema(\danog\MadelineProto\Settings\TLSchema $schema): self`
|
||||
|
||||
@ -401,6 +453,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDb(): \danog\MadelineProto\Settings\DatabaseAbstract`
|
||||
|
||||
@ -412,6 +466,8 @@ Get database settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDb(\danog\MadelineProto\Settings\DatabaseAbstract $db): self`
|
||||
|
||||
@ -427,6 +483,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getIpc(): \danog\MadelineProto\Settings\Ipc`
|
||||
|
||||
@ -438,6 +496,8 @@ Get IPC server settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setIpc(\danog\MadelineProto\Settings\Ipc $ipc): self`
|
||||
|
||||
@ -453,6 +513,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTemplates(): \danog\MadelineProto\Settings\Templates`
|
||||
|
||||
@ -464,6 +526,8 @@ Get template settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setTemplates(\danog\MadelineProto\Settings\Templates $templates): self`
|
||||
|
||||
@ -479,10 +543,16 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ App information.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `hasApiInfo(): bool`
|
||||
* `getApiId(): int`
|
||||
@ -40,12 +38,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Check if the settings have API ID/hash information.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getApiId(): int`
|
||||
|
||||
Get API ID.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setApiId(int $apiId): self`
|
||||
|
||||
@ -56,12 +58,16 @@ Parameters:
|
||||
* `$apiId`: `int` API ID.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getApiHash(): string`
|
||||
|
||||
Get API hash.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setApiHash(string $apiHash): self`
|
||||
|
||||
@ -72,12 +78,16 @@ Parameters:
|
||||
* `$apiHash`: `string` API hash.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDeviceModel(): string`
|
||||
|
||||
Get device model.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDeviceModel(string $deviceModel): self`
|
||||
|
||||
@ -88,12 +98,16 @@ Parameters:
|
||||
* `$deviceModel`: `string` Device model.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getSystemVersion(): string`
|
||||
|
||||
Get system version.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setSystemVersion(string $systemVersion): self`
|
||||
|
||||
@ -104,12 +118,16 @@ Parameters:
|
||||
* `$systemVersion`: `string` System version.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getAppVersion(): string`
|
||||
|
||||
Get app version.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setAppVersion(string $appVersion): self`
|
||||
|
||||
@ -120,12 +138,16 @@ Parameters:
|
||||
* `$appVersion`: `string` App version.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getLangCode(): string`
|
||||
|
||||
Get language code.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setLangCode(string $langCode): self`
|
||||
|
||||
@ -136,12 +158,16 @@ Parameters:
|
||||
* `$langCode`: `string` Language code.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getLangPack(): string`
|
||||
|
||||
Get language pack.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setLangPack(string $langPack): self`
|
||||
|
||||
@ -152,10 +178,16 @@ Parameters:
|
||||
* `$langPack`: `string` Language pack.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Cryptography settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getRsaKeys(): array`
|
||||
* `setRsaKeys(array $rsaKeys): self`
|
||||
@ -33,6 +31,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get MTProto public keys array.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setRsaKeys(array $rsaKeys): self`
|
||||
|
||||
@ -43,12 +43,16 @@ Parameters:
|
||||
* `$rsaKeys`: `array` MTProto public keys array.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDefaultTempAuthKeyExpiresIn(): int`
|
||||
|
||||
Get validity period of the binding of temporary and permanent keys.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDefaultTempAuthKeyExpiresIn(int $defaultTempAuthKeyExpiresIn): self`
|
||||
|
||||
@ -59,12 +63,16 @@ Parameters:
|
||||
* `$defaultTempAuthKeyExpiresIn`: `int` Validity period of the binding of temporary and permanent keys.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPfs(): bool`
|
||||
|
||||
Get whether to use PFS.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setPfs(bool $pfs): self`
|
||||
|
||||
@ -75,12 +83,16 @@ Parameters:
|
||||
* `$pfs`: `bool` Whether to use PFS
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMaxAuthTries(): int`
|
||||
|
||||
Get max tries for generating auth key.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setMaxAuthTries(int $maxAuthTries): self`
|
||||
|
||||
@ -91,10 +103,16 @@ Parameters:
|
||||
* `$maxAuthTries`: `int` Max tries for generating auth key
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Connection settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getProtocol(): string`
|
||||
* `setProtocol(class-string<\danog\MadelineProto\Stream\MTProtoBufferInterface> $protocol): self`
|
||||
@ -59,6 +57,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get protocol identifier.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setProtocol(class-string<\danog\MadelineProto\Stream\MTProtoBufferInterface> $protocol): self`
|
||||
|
||||
@ -74,12 +74,16 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getIpv6(): bool`
|
||||
|
||||
Get whether to use ipv6.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setIpv6(bool $ipv6): self`
|
||||
|
||||
@ -90,12 +94,16 @@ Parameters:
|
||||
* `$ipv6`: `bool` Whether to use ipv6
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getSslSubdomains(): array`
|
||||
|
||||
Get subdomains of web.telegram.org for https protocol.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setSslSubdomains(array $sslSubdomains): self`
|
||||
|
||||
@ -106,12 +114,16 @@ Parameters:
|
||||
* `$sslSubdomains`: `array` Subdomains of web.telegram.org for https protocol.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMinMediaSocketCount(): int`
|
||||
|
||||
Get minimum media socket count.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setMinMediaSocketCount(int $minMediaSocketCount): self`
|
||||
|
||||
@ -122,12 +134,16 @@ Parameters:
|
||||
* `$minMediaSocketCount`: `int` Minimum media socket count.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMaxMediaSocketCount(): int`
|
||||
|
||||
Get maximum media socket count.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setMaxMediaSocketCount(int $maxMediaSocketCount): self`
|
||||
|
||||
@ -138,12 +154,16 @@ Parameters:
|
||||
* `$maxMediaSocketCount`: `int` Maximum media socket count.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getRobinPeriod(): int`
|
||||
|
||||
Get robin period (seconds).
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setRobinPeriod(int $robinPeriod): self`
|
||||
|
||||
@ -154,18 +174,24 @@ Parameters:
|
||||
* `$robinPeriod`: `int` Robin period (seconds).
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDefaultDc(): int`
|
||||
|
||||
Get default DC ID.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDefaultDcParams(): array`
|
||||
|
||||
Get default DC params.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDefaultDc(int $defaultDc): self`
|
||||
|
||||
@ -176,6 +202,8 @@ Parameters:
|
||||
* `$defaultDc`: `int` Default DC ID.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getProxies(): array`
|
||||
|
||||
@ -191,6 +219,8 @@ array<class-string<\danog\MadelineProto\Stream\StreamInterface>, array>
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `addProxy(class-string<\danog\MadelineProto\Stream\StreamInterface> $proxy, array $extra): self`
|
||||
|
||||
@ -207,6 +237,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setProxy(array $proxies): self`
|
||||
|
||||
@ -217,12 +249,16 @@ Parameters:
|
||||
* `$proxies`: `array` Proxies
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `clearProxies(): self`
|
||||
|
||||
Clear proxies.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `removeProxy(string $proxy, array $extra): self`
|
||||
|
||||
@ -234,12 +270,16 @@ Parameters:
|
||||
* `$extra`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getObfuscated(): bool`
|
||||
|
||||
Get whether to use the obfuscated protocol.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setObfuscated(bool $obfuscated): self`
|
||||
|
||||
@ -250,12 +290,16 @@ Parameters:
|
||||
* `$obfuscated`: `bool` Whether to use the obfuscated protocol.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTestMode(): bool`
|
||||
|
||||
Get whether we're in test mode.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setTestMode(bool $testMode): self`
|
||||
|
||||
@ -266,6 +310,8 @@ Parameters:
|
||||
* `$testMode`: `bool` Whether we're in test mode.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTransport(): class-string<\danog\MadelineProto\Stream\RawStreamInterface>`
|
||||
|
||||
@ -277,6 +323,8 @@ Get transport identifier.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setTransport(class-string<\danog\MadelineProto\Stream\RawStreamInterface> $transport): self`
|
||||
|
||||
@ -292,12 +340,16 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getRetry(): bool`
|
||||
|
||||
Get whether to retry connection.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setRetry(bool $retry): self`
|
||||
|
||||
@ -308,12 +360,16 @@ Parameters:
|
||||
* `$retry`: `bool` Whether to retry connection.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTimeout(): int`
|
||||
|
||||
Get connection timeout.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setTimeout(int $timeout): self`
|
||||
|
||||
@ -324,12 +380,16 @@ Parameters:
|
||||
* `$timeout`: `int` Connection timeout.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getUseDoH(): bool`
|
||||
|
||||
Get whether to use DNS over HTTPS.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setUseDoH(bool $useDoH): self`
|
||||
|
||||
@ -340,12 +400,16 @@ Parameters:
|
||||
* `$useDoH`: `bool` Whether to use DNS over HTTPS
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getBindTo(): ?string`
|
||||
|
||||
Get bind on specific address and port.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setBindTo(?string $bindTo): self`
|
||||
|
||||
@ -356,10 +420,16 @@ Parameters:
|
||||
* `$bindTo`: `?string` Bind on specific address and port.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Base class for database backends.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getKey(): string`
|
||||
* `getCacheTtl(): int`
|
||||
@ -34,12 +32,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get DB key.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getCacheTtl(): int`
|
||||
|
||||
Get for how long to keep records in memory after last read, for cached backends.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setCacheTtl(int|string $cacheTtl): self`
|
||||
|
||||
@ -50,12 +52,16 @@ Parameters:
|
||||
* `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPassword(): string`
|
||||
|
||||
Get password.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setPassword(string $password): self`
|
||||
|
||||
@ -66,18 +72,24 @@ Parameters:
|
||||
* `$password`: `string` Password.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDatabase(): string|int`
|
||||
|
||||
Get database name/ID.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getUri(): string`
|
||||
|
||||
Get database URI.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDatabase(int|string $database): self`
|
||||
|
||||
@ -88,6 +100,8 @@ Parameters:
|
||||
* `$database`: `int|string`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setUri(string $uri): self`
|
||||
|
||||
@ -98,10 +112,16 @@ Parameters:
|
||||
* `$uri`: `string`
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Memory backend settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getCleanup(): bool`
|
||||
* `setCleanup(bool $cleanup): self`
|
||||
@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get whether to cleanup the memory before serializing.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setCleanup(bool $cleanup): self`
|
||||
|
||||
@ -37,10 +37,16 @@ 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)
|
||||
|
@ -14,8 +14,6 @@ MySQL backend settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getMaxConnections(): int`
|
||||
* `setMaxConnections(int $maxConnections): self`
|
||||
@ -40,6 +38,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get maximum connection limit.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setMaxConnections(int $maxConnections): self`
|
||||
|
||||
@ -50,12 +50,16 @@ Parameters:
|
||||
* `$maxConnections`: `int` Maximum connection limit.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getIdleTimeout(): int`
|
||||
|
||||
Get idle timeout.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setIdleTimeout(int $idleTimeout): self`
|
||||
|
||||
@ -66,12 +70,16 @@ Parameters:
|
||||
* `$idleTimeout`: `int` Idle timeout.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDatabase(): string`
|
||||
|
||||
Get database name.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDatabase(string $database): self`
|
||||
|
||||
@ -82,12 +90,16 @@ Parameters:
|
||||
* `$database`: `string` Database name.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getUsername(): string`
|
||||
|
||||
Get username.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setUsername(string $username): self`
|
||||
|
||||
@ -98,12 +110,16 @@ Parameters:
|
||||
* `$username`: `string` Username.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getUri(): string`
|
||||
|
||||
Get database URI.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setUri(string $uri): self`
|
||||
|
||||
@ -114,18 +130,24 @@ Parameters:
|
||||
* `$uri`: `string` Database URI.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getKey(): string`
|
||||
|
||||
Get DB key.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getCacheTtl(): int`
|
||||
|
||||
Get for how long to keep records in memory after last read, for cached backends.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setCacheTtl(int|string $cacheTtl): self`
|
||||
|
||||
@ -136,12 +158,16 @@ Parameters:
|
||||
* `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPassword(): string`
|
||||
|
||||
Get password.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setPassword(string $password): self`
|
||||
|
||||
@ -152,10 +178,16 @@ Parameters:
|
||||
* `$password`: `string` Password.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Postgres backend settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getMaxConnections(): int`
|
||||
* `setMaxConnections(int $maxConnections): self`
|
||||
@ -40,6 +38,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get maximum connection limit.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setMaxConnections(int $maxConnections): self`
|
||||
|
||||
@ -50,12 +50,16 @@ Parameters:
|
||||
* `$maxConnections`: `int` Maximum connection limit.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getIdleTimeout(): int`
|
||||
|
||||
Get idle timeout.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setIdleTimeout(int $idleTimeout): self`
|
||||
|
||||
@ -66,12 +70,16 @@ Parameters:
|
||||
* `$idleTimeout`: `int` Idle timeout.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDatabase(): string`
|
||||
|
||||
Get database name.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDatabase(string $database): self`
|
||||
|
||||
@ -82,12 +90,16 @@ Parameters:
|
||||
* `$database`: `string` Database name.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getUsername(): string`
|
||||
|
||||
Get username.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setUsername(string $username): self`
|
||||
|
||||
@ -98,12 +110,16 @@ Parameters:
|
||||
* `$username`: `string` Username.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getUri(): string`
|
||||
|
||||
Get database URI.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setUri(string $uri): self`
|
||||
|
||||
@ -114,18 +130,24 @@ Parameters:
|
||||
* `$uri`: `string` Database URI.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getKey(): string`
|
||||
|
||||
Get DB key.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getCacheTtl(): int`
|
||||
|
||||
Get for how long to keep records in memory after last read, for cached backends.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setCacheTtl(int|string $cacheTtl): self`
|
||||
|
||||
@ -136,12 +158,16 @@ Parameters:
|
||||
* `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPassword(): string`
|
||||
|
||||
Get password.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setPassword(string $password): self`
|
||||
|
||||
@ -152,10 +178,16 @@ Parameters:
|
||||
* `$password`: `string` Password.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Redis backend settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getDatabase(): int`
|
||||
* `setDatabase(int $database): self`
|
||||
@ -34,6 +32,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get database number.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDatabase(int $database): self`
|
||||
|
||||
@ -44,12 +44,16 @@ Parameters:
|
||||
* `$database`: `int` Database number.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getUri(): string`
|
||||
|
||||
Get database URI.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setUri(string $uri): self`
|
||||
|
||||
@ -60,18 +64,24 @@ Parameters:
|
||||
* `$uri`: `string` Database URI.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getKey(): string`
|
||||
|
||||
Get DB key.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getCacheTtl(): int`
|
||||
|
||||
Get for how long to keep records in memory after last read, for cached backends.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setCacheTtl(int|string $cacheTtl): self`
|
||||
|
||||
@ -82,12 +92,16 @@ Parameters:
|
||||
* `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPassword(): string`
|
||||
|
||||
Get password.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setPassword(string $password): self`
|
||||
|
||||
@ -98,10 +112,16 @@ Parameters:
|
||||
* `$password`: `string` Password.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Generic db backend settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getMaxConnections(): int`
|
||||
* `setMaxConnections(int $maxConnections): self`
|
||||
@ -40,6 +38,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get maximum connection limit.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setMaxConnections(int $maxConnections): self`
|
||||
|
||||
@ -50,12 +50,16 @@ Parameters:
|
||||
* `$maxConnections`: `int` Maximum connection limit.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getIdleTimeout(): int`
|
||||
|
||||
Get idle timeout.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setIdleTimeout(int $idleTimeout): self`
|
||||
|
||||
@ -66,12 +70,16 @@ Parameters:
|
||||
* `$idleTimeout`: `int` Idle timeout.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDatabase(): string`
|
||||
|
||||
Get database name.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDatabase(string $database): self`
|
||||
|
||||
@ -82,12 +90,16 @@ Parameters:
|
||||
* `$database`: `string` Database name.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getUsername(): string`
|
||||
|
||||
Get username.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setUsername(string $username): self`
|
||||
|
||||
@ -98,12 +110,16 @@ Parameters:
|
||||
* `$username`: `string` Username.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getUri(): string`
|
||||
|
||||
Get database URI.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setUri(string $uri): self`
|
||||
|
||||
@ -114,18 +130,24 @@ Parameters:
|
||||
* `$uri`: `string` Database URI.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getKey(): string`
|
||||
|
||||
Get DB key.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getCacheTtl(): int`
|
||||
|
||||
Get for how long to keep records in memory after last read, for cached backends.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setCacheTtl(int|string $cacheTtl): self`
|
||||
|
||||
@ -136,12 +158,16 @@ Parameters:
|
||||
* `$cacheTtl`: `int|string` For how long to keep records in memory after last read, for cached backends.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPassword(): string`
|
||||
|
||||
Get password.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setPassword(string $password): self`
|
||||
|
||||
@ -152,10 +178,16 @@ Parameters:
|
||||
* `$password`: `string` Password.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Base class for storage backends.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `hasChanged(): bool`
|
||||
|
||||
@ -25,4 +23,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ File management settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getAllowAutomaticUpload(): bool`
|
||||
* `setAllowAutomaticUpload(bool $allowAutomaticUpload): self`
|
||||
@ -33,6 +31,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get allow automatic upload of files from file paths present in constructors?
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setAllowAutomaticUpload(bool $allowAutomaticUpload): self`
|
||||
|
||||
@ -43,12 +43,16 @@ Parameters:
|
||||
* `$allowAutomaticUpload`: `bool` Allow automatic upload of files from file paths present in constructors?
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getUploadParallelChunks(): int`
|
||||
|
||||
Get upload parallel chunk count.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setUploadParallelChunks(int $uploadParallelChunks): self`
|
||||
|
||||
@ -59,12 +63,16 @@ Parameters:
|
||||
* `$uploadParallelChunks`: `int` Upload parallel chunk count
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDownloadParallelChunks(): int`
|
||||
|
||||
Get download parallel chunk count.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDownloadParallelChunks(int $downloadParallelChunks): self`
|
||||
|
||||
@ -75,12 +83,16 @@ Parameters:
|
||||
* `$downloadParallelChunks`: `int` Download parallel chunk count
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getReportBrokenMedia(): bool`
|
||||
|
||||
Get whether to report undownloadable media to TSF.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setReportBrokenMedia(bool $reportBrokenMedia): self`
|
||||
|
||||
@ -91,10 +103,16 @@ Parameters:
|
||||
* `$reportBrokenMedia`: `bool` Whether to report undownloadable media to TSF
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ IPC server settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getSlow(): bool`
|
||||
* `setSlow(bool $slow): self`
|
||||
@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get WARNING: this will cause slow startup if enabled.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setSlow(bool $slow): self`
|
||||
|
||||
@ -37,10 +37,16 @@ Parameters:
|
||||
* `$slow`: `bool` WARNING: this will cause slow startup if enabled.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Logger settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getType()`
|
||||
* `setType(): self`
|
||||
@ -33,18 +31,24 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get $type Logger type.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setType(): self`
|
||||
|
||||
Set $type Logger type.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getExtra(): null|callable|string`
|
||||
|
||||
Get extra parameter for logger.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setExtra(null|callable|string $extra): self`
|
||||
|
||||
@ -55,24 +59,32 @@ Parameters:
|
||||
* `$extra`: `null|callable|string` Extra parameter for logger.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getLevel()`
|
||||
|
||||
Get logging level.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setLevel(): self`
|
||||
|
||||
Set logging level.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMaxSize(): int`
|
||||
|
||||
Get maximum filesize for logger, in case of file logging.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setMaxSize(int $maxSize): self`
|
||||
|
||||
@ -83,10 +95,16 @@ Parameters:
|
||||
* `$maxSize`: `int` Maximum filesize for logger, in case of file logging.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Peer database settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getFullInfoCacheTime(): int`
|
||||
* `setFullInfoCacheTime(int $fullInfoCacheTime): self`
|
||||
@ -31,6 +29,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get cache time for full peer information (seconds).
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setFullInfoCacheTime(int $fullInfoCacheTime): self`
|
||||
|
||||
@ -41,12 +41,16 @@ Parameters:
|
||||
* `$fullInfoCacheTime`: `int` Cache time for full peer information (seconds).
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getFullFetch(): bool`
|
||||
|
||||
Get should madeline fetch the full member list of every group it meets?
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setFullFetch(bool $fullFetch): self`
|
||||
|
||||
@ -57,12 +61,16 @@ Parameters:
|
||||
* `$fullFetch`: `bool` Should madeline fetch the full member list of every group it meets?
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getCacheAllPeersOnStartup(): bool`
|
||||
|
||||
Get whether to cache all peers on startup for userbots.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setCacheAllPeersOnStartup(bool $cacheAllPeersOnStartup): self`
|
||||
|
||||
@ -73,10 +81,16 @@ Parameters:
|
||||
* `$cacheAllPeersOnStartup`: `bool` Whether to cache all peers on startup for userbots.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ PWRTelegram settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getRequests(): bool`
|
||||
* `setRequests(bool $requests): self`
|
||||
@ -29,6 +27,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get whether to try resolving usernames using PWRTelegram DB.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setRequests(bool $requests): self`
|
||||
|
||||
@ -39,12 +39,16 @@ Parameters:
|
||||
* `$requests`: `bool` Whether to try resolving usernames using PWRTelegram DB.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDbToken(): string`
|
||||
|
||||
Get DB token.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setDbToken(string $dbToken): self`
|
||||
|
||||
@ -55,10 +59,16 @@ Parameters:
|
||||
* `$dbToken`: `string` DB token.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ RPC settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getRpcTimeout(): int`
|
||||
* `setRpcTimeout(int $rpcTimeout): self`
|
||||
@ -37,6 +35,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get RPC timeout.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setRpcTimeout(int $rpcTimeout): self`
|
||||
|
||||
@ -47,12 +47,16 @@ Parameters:
|
||||
* `$rpcTimeout`: `int` RPC timeout.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getFloodTimeout(): int`
|
||||
|
||||
Get flood timeout: if FLOOD_WAIT_ time is bigger than this, throw exception instead of waiting asynchronously.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setFloodTimeout(int $floodTimeout): self`
|
||||
|
||||
@ -63,12 +67,16 @@ Parameters:
|
||||
* `$floodTimeout`: `int` Flood timeout: if FLOOD_WAIT_ time is bigger than this, throw exception instead of waiting asynchronously
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getLimitIncoming(): int`
|
||||
|
||||
Get maximum number of messages to be stored in the incoming queue.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setLimitIncoming(int $limitIncoming): self`
|
||||
|
||||
@ -79,12 +87,16 @@ Parameters:
|
||||
* `$limitIncoming`: `int` Maximum number of messages to be stored in the incoming queue
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getLimitOutgoing(): int`
|
||||
|
||||
Get maximum number of messages to be stored in the outgoing queue.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setLimitOutgoing(int $limitOutgoing): self`
|
||||
|
||||
@ -95,12 +107,16 @@ Parameters:
|
||||
* `$limitOutgoing`: `int` Maximum number of messages to be stored in the outgoing queue
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getLimitCallQueue(): int`
|
||||
|
||||
Get maximum number of messages to consider when using call queues.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setLimitCallQueue(int $limitCallQueue): self`
|
||||
|
||||
@ -111,12 +127,16 @@ Parameters:
|
||||
* `$limitCallQueue`: `int` Maximum number of messages to consider when using call queues
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getGzipEncodeIfGt(): int`
|
||||
|
||||
Get encode payload with GZIP if bigger than.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setGzipEncodeIfGt(int $gzipEncodeIfGt): self`
|
||||
|
||||
@ -127,10 +147,16 @@ Parameters:
|
||||
* `$gzipEncodeIfGt`: `int` Encode payload with GZIP if bigger than
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Secret chat settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getAccept(): bool|int[]`
|
||||
* `setAccept(bool|int[] $accept): self`
|
||||
@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get boolean or array of IDs.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setAccept(bool|int[] $accept): self`
|
||||
|
||||
@ -37,10 +37,16 @@ Parameters:
|
||||
* `$accept`: `bool|int[]` Boolean or array of IDs
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Serialization settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getInterval(): int`
|
||||
* `setInterval(int $interval): self`
|
||||
@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get serialization interval, in seconds.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setInterval(int $interval): self`
|
||||
|
||||
@ -37,10 +37,16 @@ Parameters:
|
||||
* `$interval`: `int` Serialization interval, in seconds.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ TL schema settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `needsUpgrade(): bool`
|
||||
* `upgrade(): void`
|
||||
@ -37,18 +35,24 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Returns whether the TL parser should re-parse the TL schemes.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `upgrade(): void`
|
||||
|
||||
Signal that scheme was re-parsed.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getLayer(): int`
|
||||
|
||||
Get TL layer version.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setLayer(int $layer): self`
|
||||
|
||||
@ -59,12 +63,16 @@ Parameters:
|
||||
* `$layer`: `int` TL layer version.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMTProtoSchema(): string`
|
||||
|
||||
Get MTProto schema path.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setMTProtoSchema(string $MTProtoSchema): self`
|
||||
|
||||
@ -75,12 +83,16 @@ Parameters:
|
||||
* `$MTProtoSchema`: `string` MTProto schema path.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getAPISchema(): string`
|
||||
|
||||
Get API schema path.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setAPISchema(string $APISchema): self`
|
||||
|
||||
@ -91,12 +103,16 @@ Parameters:
|
||||
* `$APISchema`: `string` API schema path.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getSecretSchema(): string`
|
||||
|
||||
Get secret schema path.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setSecretSchema(string $secretSchema): self`
|
||||
|
||||
@ -107,12 +123,16 @@ Parameters:
|
||||
* `$secretSchema`: `string` Secret schema path.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getOther(): array`
|
||||
|
||||
Get the value of other.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setOther(array $other): self`
|
||||
|
||||
@ -123,10 +143,16 @@ Parameters:
|
||||
* `$other`: `array`
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Web and CLI template settings for login.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getHtmlTemplate(): string`
|
||||
* `setHtmlTemplate(string $htmlTemplate): self`
|
||||
@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get web template used for querying app information.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setHtmlTemplate(string $htmlTemplate): self`
|
||||
|
||||
@ -37,10 +37,16 @@ Parameters:
|
||||
* `$htmlTemplate`: `string` Web template used for querying app information.
|
||||
|
||||
|
||||
---
|
||||
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)
|
||||
|
@ -14,8 +14,6 @@ Class that controls script shutdown.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `shutdown(): void`
|
||||
* `addCallback(callable $callback, null|string $id): int|\string The callback ID`
|
||||
@ -27,6 +25,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Function to be called on shutdown.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `addCallback(callable $callback, null|string $id): int|\string The callback ID`
|
||||
|
||||
@ -40,6 +40,8 @@ Parameters:
|
||||
|
||||
Return value: The callback ID
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `removeCallback(null|string|int $id): \bool true if the callback was removed correctly, false otherwise`
|
||||
|
||||
@ -52,4 +54,8 @@ Parameters:
|
||||
|
||||
Return value: true if the callback was removed correctly, false otherwise
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Some tools.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `toCamelCase(string $input): string`
|
||||
* `toSnakeCase(string $input): string`
|
||||
@ -38,6 +36,8 @@ Parameters:
|
||||
* `$input`: `string` String
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `toSnakeCase(string $input): string`
|
||||
|
||||
@ -48,6 +48,8 @@ Parameters:
|
||||
* `$input`: `string` String
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `markdownEscape(string $hwat): string`
|
||||
|
||||
@ -58,6 +60,8 @@ Parameters:
|
||||
* `$hwat`: `string` String to escape
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `typeEscape(string $type): string`
|
||||
|
||||
@ -68,6 +72,8 @@ Parameters:
|
||||
* `$type`: `string` String to escape
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `methodEscape(string $method): string`
|
||||
|
||||
@ -78,6 +84,8 @@ Parameters:
|
||||
* `$method`: `string` Method name
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMimeFromExtension(string $extension, string $default): string`
|
||||
|
||||
@ -89,6 +97,8 @@ Parameters:
|
||||
* `$default`: `string` Default mime type
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getExtensionFromMime(string $mime): string`
|
||||
|
||||
@ -99,6 +109,8 @@ Parameters:
|
||||
* `$mime`: `string` MIME type
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getExtensionFromLocation(mixed $location, string $default): string`
|
||||
|
||||
@ -110,6 +122,8 @@ Parameters:
|
||||
* `$default`: `string` Default extension
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMimeFromFile(string $file): string`
|
||||
|
||||
@ -120,6 +134,8 @@ Parameters:
|
||||
* `$file`: `string` File
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMimeFromBuffer(string $buffer): string`
|
||||
|
||||
@ -130,4 +146,8 @@ Parameters:
|
||||
* `$buffer`: `string` Buffer
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ TL conversion exception.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `updateTLTrace(array $trace): void`
|
||||
* `getTLTrace(): string`
|
||||
@ -32,12 +30,16 @@ Parameters:
|
||||
* `$trace`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTLTrace(): string`
|
||||
|
||||
Get TL trace.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setTLTrace(string $tlTrace): void`
|
||||
|
||||
@ -48,6 +50,8 @@ Parameters:
|
||||
* `$tlTrace`: `string` TL trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `prettifyTL(string $init, array $trace): void`
|
||||
|
||||
@ -59,4 +63,8 @@ Parameters:
|
||||
* `$trace`: `array` Async trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Manages generation of extensions for files.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getMimeFromExtension(string $extension, string $default): string`
|
||||
* `getExtensionFromMime(string $mime): string`
|
||||
@ -34,6 +32,8 @@ Parameters:
|
||||
* `$default`: `string` Default mime type
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getExtensionFromMime(string $mime): string`
|
||||
|
||||
@ -44,6 +44,8 @@ Parameters:
|
||||
* `$mime`: `string` MIME type
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getExtensionFromLocation(mixed $location, string $default): string`
|
||||
|
||||
@ -55,6 +57,8 @@ Parameters:
|
||||
* `$default`: `string` Default extension
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMimeFromFile(string $file): string`
|
||||
|
||||
@ -65,6 +69,8 @@ Parameters:
|
||||
* `$file`: `string` File
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMimeFromBuffer(string $buffer): string`
|
||||
|
||||
@ -75,4 +81,8 @@ Parameters:
|
||||
* `$buffer`: `string` Buffer
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ TL deserialization exception.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `updateTLTrace(array $trace): void`
|
||||
* `getTLTrace(): string`
|
||||
@ -32,12 +30,16 @@ Parameters:
|
||||
* `$trace`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTLTrace(): string`
|
||||
|
||||
Get TL trace.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setTLTrace(string $tlTrace): void`
|
||||
|
||||
@ -48,6 +50,8 @@ Parameters:
|
||||
* `$tlTrace`: `string` TL trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `prettifyTL(string $init, array $trace): void`
|
||||
|
||||
@ -59,4 +63,8 @@ Parameters:
|
||||
* `$trace`: `array` Async trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Clickable button.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `click(bool $donotwait): mixed`
|
||||
* `jsonSerialize(): array`
|
||||
@ -34,12 +32,16 @@ Parameters:
|
||||
* `$donotwait`: `bool` Whether to wait for the result of the method
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `jsonSerialize(): array`
|
||||
|
||||
Serialize button.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet( $name, mixed $value): void`
|
||||
|
||||
@ -51,6 +53,8 @@ Parameters:
|
||||
* `$value`: `mixed` Value
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetGet( $name): mixed`
|
||||
|
||||
@ -61,6 +65,8 @@ Parameters:
|
||||
* `$name`: `` Field name
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset( $name): void`
|
||||
|
||||
@ -71,6 +77,8 @@ Parameters:
|
||||
* `$name`: `` Offset
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetExists( $name): bool`
|
||||
|
||||
@ -81,4 +89,8 @@ Parameters:
|
||||
* `$name`: `` Offset
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Bytes wrapper.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `jsonSerialize(): array`
|
||||
* `offsetSet(int|null $offset, string $value): void`
|
||||
@ -29,6 +27,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Obtain values for JSON-encoding.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(int|null $offset, string $value): void`
|
||||
|
||||
@ -40,6 +40,8 @@ Parameters:
|
||||
* `$value`: `string` Char
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetGet(int $offset): string`
|
||||
|
||||
@ -50,6 +52,8 @@ Parameters:
|
||||
* `$offset`: `int` Name
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(int $offset): void`
|
||||
|
||||
@ -60,6 +64,8 @@ Parameters:
|
||||
* `$offset`: `int` Offset
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetExists(int $offset): bool`
|
||||
|
||||
@ -70,4 +76,8 @@ Parameters:
|
||||
* `$offset`: `int` Offset
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ TON API.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `after(\Generator|\Promise $a, \Generator|\Promise $b): \Amp\Promise`
|
||||
* `all((\Generator|\Promise)[] $promises): \Amp\Promise`
|
||||
@ -97,6 +95,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `all((\Generator|\Promise)[] $promises): \Amp\Promise`
|
||||
|
||||
@ -114,6 +114,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `any((\Promise|\Generator)[] $promises): \Amp\Promise`
|
||||
|
||||
@ -131,6 +133,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `arr(mixed $params): array`
|
||||
|
||||
@ -141,6 +145,8 @@ Parameters:
|
||||
* `$params`: `mixed` Params
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `base64urlDecode(string $data): string`
|
||||
|
||||
@ -151,6 +157,8 @@ Parameters:
|
||||
* `$data`: `string` Data to decode
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `base64urlEncode(string $data): string`
|
||||
|
||||
@ -161,6 +169,8 @@ Parameters:
|
||||
* `$data`: `string` Data to encode
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `botAPItoMTProto(array $parameters): \Amp\Promise`
|
||||
|
||||
@ -176,6 +186,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `call(\Generator|\Promise|mixed $promise): \Amp\Promise`
|
||||
|
||||
@ -202,6 +214,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `callFork(\Generator|\Promise $promise, ?\Generator|\Promise $actual, string $file): \Amp\Promise|mixed`
|
||||
|
||||
@ -221,6 +235,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `callForkDefer(\Generator|\Promise $promise): void`
|
||||
|
||||
@ -237,6 +253,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `connect(string $config): \Amp\Promise`
|
||||
|
||||
@ -252,6 +270,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `echo(string $string): \Amp\Promise`
|
||||
|
||||
@ -267,6 +287,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `end(array $what): mixed`
|
||||
|
||||
@ -277,6 +299,8 @@ Parameters:
|
||||
* `$what`: `array` Array
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `first((\Promise|\Generator)[] $promises): \Amp\Promise`
|
||||
|
||||
@ -294,6 +318,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `flock(string $file, int $operation, float $polling, ?\Promise $token, ?callable $failureCb): \Amp\Promise<?callable>`
|
||||
|
||||
@ -315,6 +341,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `genVectorHash(array $ints): \int Vector hash`
|
||||
|
||||
@ -327,6 +355,8 @@ Parameters:
|
||||
|
||||
Return value: Vector hash
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getExtensionFromLocation(mixed $location, string $default): string`
|
||||
|
||||
@ -338,6 +368,8 @@ Parameters:
|
||||
* `$default`: `string` Default extension
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getExtensionFromMime(string $mime): string`
|
||||
|
||||
@ -348,6 +380,8 @@ Parameters:
|
||||
* `$mime`: `string` MIME type
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMethodNamespaces(): mixed`
|
||||
|
||||
@ -363,6 +397,8 @@ array|\Amp\Promise<array>
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMimeFromBuffer(string $buffer): string`
|
||||
|
||||
@ -373,6 +409,8 @@ Parameters:
|
||||
* `$buffer`: `string` Buffer
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMimeFromExtension(string $extension, string $default): string`
|
||||
|
||||
@ -384,6 +422,8 @@ Parameters:
|
||||
* `$default`: `string` Default mime type
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMimeFromFile(string $file): string`
|
||||
|
||||
@ -394,6 +434,8 @@ Parameters:
|
||||
* `$file`: `string` File
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getVar(object $obj, string $var): mixed`
|
||||
|
||||
@ -405,6 +447,8 @@ Parameters:
|
||||
* `$var`: `string` Attribute name
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `hasVar(object $obj, string $var): bool`
|
||||
|
||||
@ -416,6 +460,8 @@ Parameters:
|
||||
* `$var`: `string` Attribute name
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `inflateStripped(string $stripped): \string JPG payload`
|
||||
|
||||
@ -428,12 +474,16 @@ Parameters:
|
||||
|
||||
Return value: JPG payload
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isAltervista(): bool`
|
||||
|
||||
Whether this is altervista.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isArrayOrAlike(mixed $var): bool`
|
||||
|
||||
@ -444,6 +494,8 @@ Parameters:
|
||||
* `$var`: `mixed` Value to check
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `logger(string $param, int $level, string $file): mixed`
|
||||
|
||||
@ -465,6 +517,8 @@ void|\Amp\Promise<void>
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `loop(callable $func): \Amp\Promise`
|
||||
|
||||
@ -480,6 +534,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `markdownEscape(string $hwat): string`
|
||||
|
||||
@ -490,6 +546,8 @@ Parameters:
|
||||
* `$hwat`: `string` String to escape
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `methodCall(string $methodName, array $args): \Amp\Promise`
|
||||
|
||||
@ -506,6 +564,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `methodEscape(string $method): string`
|
||||
|
||||
@ -516,6 +576,8 @@ Parameters:
|
||||
* `$method`: `string` Method name
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `packDouble(float $value): string`
|
||||
|
||||
@ -526,6 +588,8 @@ Parameters:
|
||||
* `$value`: `float` Value to convert
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `packSignedInt(int $value): string`
|
||||
|
||||
@ -536,6 +600,8 @@ Parameters:
|
||||
* `$value`: `int` Value to convert
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `packSignedLong(int $value): string`
|
||||
|
||||
@ -546,6 +612,8 @@ Parameters:
|
||||
* `$value`: `int` Value to convert
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `packUnsignedInt(int $value): string`
|
||||
|
||||
@ -556,6 +624,8 @@ Parameters:
|
||||
* `$value`: `int` Value
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `posmod(int $a, int $b): \int Modulo`
|
||||
|
||||
@ -570,6 +640,8 @@ Parameters:
|
||||
|
||||
Return value: Modulo
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `random(int $length): \string Random string`
|
||||
|
||||
@ -582,6 +654,8 @@ Parameters:
|
||||
|
||||
Return value: Random string
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `randomInt(int $modulus): int`
|
||||
|
||||
@ -592,6 +666,8 @@ Parameters:
|
||||
* `$modulus`: `int` Modulus
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `readLine(string $prompt): \Amp\Promise<string>`
|
||||
|
||||
@ -607,6 +683,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `rethrow(\Throwable $e, string $file): void`
|
||||
|
||||
@ -623,6 +701,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `rleDecode(string $string): string`
|
||||
|
||||
@ -633,6 +713,8 @@ Parameters:
|
||||
* `$string`: `string` Data to decode
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `rleEncode(string $string): string`
|
||||
|
||||
@ -643,6 +725,8 @@ Parameters:
|
||||
* `$string`: `string` Data to encode
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setVar(object $obj, string $var, mixed $val): void`
|
||||
|
||||
@ -655,6 +739,8 @@ Parameters:
|
||||
* `$val`: `mixed` Attribute value
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `sleep(int|float $time): \Amp\Promise`
|
||||
|
||||
@ -670,6 +756,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `some((\Promise|\Generator)[] $promises): \Amp\Promise`
|
||||
|
||||
@ -687,6 +775,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `timeout(\Generator|\Promise $promise, int $timeout): \Amp\Promise`
|
||||
|
||||
@ -705,6 +795,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `timeoutWithDefault(\Promise|\Generator $promise, int $timeout, mixed $default): \Amp\Promise<\TReturn>|\Promise<\TReturnAlt>`
|
||||
|
||||
@ -737,6 +829,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `toCamelCase(string $input): string`
|
||||
|
||||
@ -747,6 +841,8 @@ Parameters:
|
||||
* `$input`: `string` String
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `toSnakeCase(string $input): string`
|
||||
|
||||
@ -757,6 +853,8 @@ Parameters:
|
||||
* `$input`: `string` String
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `typeEscape(string $type): string`
|
||||
|
||||
@ -767,6 +865,8 @@ Parameters:
|
||||
* `$type`: `string` String to escape
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `unpackDouble(string $value): float`
|
||||
|
||||
@ -777,6 +877,8 @@ Parameters:
|
||||
* `$value`: `string` Value to unpack
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `unpackSignedInt(string $value): int`
|
||||
|
||||
@ -787,6 +889,8 @@ Parameters:
|
||||
* `$value`: `string` base256 int
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `unpackSignedLong(string $value): int`
|
||||
|
||||
@ -797,6 +901,8 @@ Parameters:
|
||||
* `$value`: `string` base256 long
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `unpackSignedLongString(string $value): string`
|
||||
|
||||
@ -807,6 +913,8 @@ Parameters:
|
||||
* `$value`: `string` base256 long
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `wait(\Generator|\Promise $promise, bool $ignoreSignal): mixed`
|
||||
|
||||
@ -824,6 +932,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `async(bool $async): void`
|
||||
|
||||
@ -834,12 +944,16 @@ Parameters:
|
||||
* `$async`: `bool` Whether to enable or disable async
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `init(): void`
|
||||
|
||||
Blockingly init.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `initAsynchronously(): \Generator`
|
||||
|
||||
@ -851,12 +965,16 @@ Asynchronously init.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `inited(): bool`
|
||||
|
||||
Check if we've already inited.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `forceInit(bool $inited): void`
|
||||
|
||||
@ -867,4 +985,8 @@ Parameters:
|
||||
* `$inited`: `bool` Whether to mark the instance as inited or deinited
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Some tools.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `genVectorHash(array $ints): \int Vector hash`
|
||||
* `randomInt(int $modulus): int`
|
||||
@ -80,6 +78,8 @@ Parameters:
|
||||
|
||||
Return value: Vector hash
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `randomInt(int $modulus): int`
|
||||
|
||||
@ -90,6 +90,8 @@ Parameters:
|
||||
* `$modulus`: `int` Modulus
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `random(int $length): \string Random string`
|
||||
|
||||
@ -102,6 +104,8 @@ Parameters:
|
||||
|
||||
Return value: Random string
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `posmod(int $a, int $b): \int Modulo`
|
||||
|
||||
@ -116,6 +120,8 @@ Parameters:
|
||||
|
||||
Return value: Modulo
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `unpackSignedInt(string $value): int`
|
||||
|
||||
@ -126,6 +132,8 @@ Parameters:
|
||||
* `$value`: `string` base256 int
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `unpackSignedLong(string $value): int`
|
||||
|
||||
@ -136,6 +144,8 @@ Parameters:
|
||||
* `$value`: `string` base256 long
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `unpackSignedLongString(string $value): string`
|
||||
|
||||
@ -146,6 +156,8 @@ Parameters:
|
||||
* `$value`: `string` base256 long
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `packSignedInt(int $value): string`
|
||||
|
||||
@ -156,6 +168,8 @@ Parameters:
|
||||
* `$value`: `int` Value to convert
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `packSignedLong(int $value): string`
|
||||
|
||||
@ -166,6 +180,8 @@ Parameters:
|
||||
* `$value`: `int` Value to convert
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `packUnsignedInt(int $value): string`
|
||||
|
||||
@ -176,6 +192,8 @@ Parameters:
|
||||
* `$value`: `int` Value
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `packDouble(float $value): string`
|
||||
|
||||
@ -186,6 +204,8 @@ Parameters:
|
||||
* `$value`: `float` Value to convert
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `unpackDouble(string $value): float`
|
||||
|
||||
@ -196,6 +216,8 @@ Parameters:
|
||||
* `$value`: `string` Value to unpack
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `wait(\Generator|\Amp\Promise $promise, bool $ignoreSignal): mixed`
|
||||
|
||||
@ -213,6 +235,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `all((\Generator|\Amp\Promise)[] $promises): \Amp\Promise`
|
||||
|
||||
@ -229,6 +253,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `any((\Amp\Promise|\Generator)[] $promises): \Amp\Promise`
|
||||
|
||||
@ -245,6 +271,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `some((\Amp\Promise|\Generator)[] $promises): \Amp\Promise`
|
||||
|
||||
@ -261,6 +289,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `first((\Amp\Promise|\Generator)[] $promises): \Amp\Promise`
|
||||
|
||||
@ -277,6 +307,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `timeout(\Generator|\Amp\Promise $promise, int $timeout): \Amp\Promise`
|
||||
|
||||
@ -294,6 +326,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `timeoutWithDefault(\Amp\Promise|\Generator $promise, int $timeout, mixed $default): \Amp\Promise<\TReturn>|\Amp\Promise<\TReturnAlt>`
|
||||
|
||||
@ -325,6 +359,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `call(\Generator|\Amp\Promise|mixed $promise): \Amp\Promise`
|
||||
|
||||
@ -350,6 +386,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `callFork(\Generator|\Amp\Promise $promise, ?\Generator|\Amp\Promise $actual, string $file): \Amp\Promise|mixed`
|
||||
|
||||
@ -368,6 +406,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `callForkDefer(\Generator|\Amp\Promise $promise): void`
|
||||
|
||||
@ -384,6 +424,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `rethrow(\Throwable $e, string $file): void`
|
||||
|
||||
@ -400,6 +442,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `after(\Generator|\Amp\Promise $a, \Generator|\Amp\Promise $b): \Amp\Promise`
|
||||
|
||||
@ -417,6 +461,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `flock(string $file, int $operation, float $polling, ?\Amp\Promise $token, ?callable $failureCb): \Amp\Promise<?callable>`
|
||||
|
||||
@ -437,6 +483,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `sleep(int|float $time): \Amp\Promise`
|
||||
|
||||
@ -452,6 +500,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `readLine(string $prompt): \Amp\Promise<string>`
|
||||
|
||||
@ -467,6 +517,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `echo(string $string): \Amp\Promise`
|
||||
|
||||
@ -482,6 +534,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isArrayOrAlike(mixed $var): bool`
|
||||
|
||||
@ -492,6 +546,8 @@ Parameters:
|
||||
* `$var`: `mixed` Value to check
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `arr(mixed $params): array`
|
||||
|
||||
@ -502,6 +558,8 @@ Parameters:
|
||||
* `$params`: `mixed` Params
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `base64urlDecode(string $data): string`
|
||||
|
||||
@ -512,6 +570,8 @@ Parameters:
|
||||
* `$data`: `string` Data to decode
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `base64urlEncode(string $data): string`
|
||||
|
||||
@ -522,6 +582,8 @@ Parameters:
|
||||
* `$data`: `string` Data to encode
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `rleDecode(string $string): string`
|
||||
|
||||
@ -532,6 +594,8 @@ Parameters:
|
||||
* `$string`: `string` Data to decode
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `rleEncode(string $string): string`
|
||||
|
||||
@ -542,6 +606,8 @@ Parameters:
|
||||
* `$string`: `string` Data to encode
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `inflateStripped(string $stripped): \string JPG payload`
|
||||
|
||||
@ -554,6 +620,8 @@ Parameters:
|
||||
|
||||
Return value: JPG payload
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `end(array $what): mixed`
|
||||
|
||||
@ -564,12 +632,16 @@ Parameters:
|
||||
* `$what`: `array` Array
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isAltervista(): bool`
|
||||
|
||||
Whether this is altervista.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `hasVar(object $obj, string $var): bool`
|
||||
|
||||
@ -581,6 +653,8 @@ Parameters:
|
||||
* `$var`: `string` Attribute name
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getVar(object $obj, string $var): mixed`
|
||||
|
||||
@ -592,6 +666,8 @@ Parameters:
|
||||
* `$var`: `string` Attribute name
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setVar(object $obj, string $var, mixed $val): void`
|
||||
|
||||
@ -604,6 +680,8 @@ Parameters:
|
||||
* `$val`: `mixed` Attribute value
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `toCamelCase(string $input): string`
|
||||
|
||||
@ -614,6 +692,8 @@ Parameters:
|
||||
* `$input`: `string` String
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `toSnakeCase(string $input): string`
|
||||
|
||||
@ -624,6 +704,8 @@ Parameters:
|
||||
* `$input`: `string` String
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `markdownEscape(string $hwat): string`
|
||||
|
||||
@ -634,6 +716,8 @@ Parameters:
|
||||
* `$hwat`: `string` String to escape
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `typeEscape(string $type): string`
|
||||
|
||||
@ -644,6 +728,8 @@ Parameters:
|
||||
* `$type`: `string` String to escape
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `methodEscape(string $method): string`
|
||||
|
||||
@ -654,6 +740,8 @@ Parameters:
|
||||
* `$method`: `string` Method name
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMimeFromExtension(string $extension, string $default): string`
|
||||
|
||||
@ -665,6 +753,8 @@ Parameters:
|
||||
* `$default`: `string` Default mime type
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getExtensionFromMime(string $mime): string`
|
||||
|
||||
@ -675,6 +765,8 @@ Parameters:
|
||||
* `$mime`: `string` MIME type
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getExtensionFromLocation(mixed $location, string $default): string`
|
||||
|
||||
@ -686,6 +778,8 @@ Parameters:
|
||||
* `$default`: `string` Default extension
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMimeFromFile(string $file): string`
|
||||
|
||||
@ -696,6 +790,8 @@ Parameters:
|
||||
* `$file`: `string` File
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getMimeFromBuffer(string $buffer): string`
|
||||
|
||||
@ -706,4 +802,8 @@ Parameters:
|
||||
* `$buffer`: `string` Buffer
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Manages storage of VoIP server config.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `update(array $config): void`
|
||||
* `get(): \array The settings`
|
||||
@ -33,6 +31,8 @@ Parameters:
|
||||
* `$config`: `array` The settings
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `get(): \array The settings`
|
||||
|
||||
@ -41,6 +41,8 @@ Get shared call settings.
|
||||
|
||||
Return value: The settings
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `updateDefault(array $configDefault): void`
|
||||
|
||||
@ -51,6 +53,8 @@ Parameters:
|
||||
* `$configDefault`: `array` The settings
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDefault(): \array The settings`
|
||||
|
||||
@ -59,10 +63,16 @@ Get default shared call settings.
|
||||
|
||||
Return value: The settings
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getFinal(): void`
|
||||
|
||||
Get final settings.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -13,6 +13,5 @@ Manages simple logging in and out.
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Async constructor class.
|
||||
Manages asynchronous construction and wakeup of classes
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `init(): void`
|
||||
* `initAsynchronously(): \Generator`
|
||||
@ -28,6 +26,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Blockingly init.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `initAsynchronously(): \Generator`
|
||||
|
||||
@ -39,12 +39,16 @@ Asynchronously init.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `inited(): bool`
|
||||
|
||||
Check if we've already inited.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `forceInit(bool $inited): void`
|
||||
|
||||
@ -55,4 +59,8 @@ Parameters:
|
||||
* `$inited`: `bool` Whether to mark the instance as inited or deinited
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Connection class.
|
||||
Manages connection to Telegram datacenters
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `needReconnect(bool $needsReconnect): void`
|
||||
* `shouldReconnect(): bool`
|
||||
@ -69,12 +67,16 @@ Parameters:
|
||||
* `$needsReconnect`: `bool` Whether the socket has to be reconnected
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `shouldReconnect(): bool`
|
||||
|
||||
Whether this sockets needs to be reconnected.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `writing(bool $writing): void`
|
||||
|
||||
@ -85,6 +87,8 @@ Parameters:
|
||||
* `$writing`: `bool`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `reading(bool $reading): void`
|
||||
|
||||
@ -95,54 +99,72 @@ Parameters:
|
||||
* `$reading`: `bool`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `haveRead(): void`
|
||||
|
||||
Tell the class that we have read a chunk of data from the socket.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getLastChunk(): float`
|
||||
|
||||
Get the receive date of the latest chunk of data from the socket.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `httpReceived(): void`
|
||||
|
||||
Indicate a received HTTP response.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `countHttpReceived(): int`
|
||||
|
||||
Count received HTTP responses.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `httpSent(): void`
|
||||
|
||||
Indicate a sent HTTP request.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `countHttpSent(): int`
|
||||
|
||||
Count sent HTTP requests.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getID(): int`
|
||||
|
||||
Get connection ID.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDatacenterID(): string`
|
||||
|
||||
Get datacenter concatenated with connection ID.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getCtx(): \danog\MadelineProto\Stream\ConnectionContext`
|
||||
|
||||
@ -154,24 +176,32 @@ Get connection context.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isHttp(): bool`
|
||||
|
||||
Check if is an HTTP connection.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isMedia(): bool`
|
||||
|
||||
Check if is a media connection.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isCDN(): bool`
|
||||
|
||||
Check if is a CDN connection.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx): \Generator`
|
||||
|
||||
@ -193,6 +223,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `sendMessage(array $message, bool $flush): \Generator`
|
||||
|
||||
@ -233,18 +265,24 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `flush(): void`
|
||||
|
||||
Flush pending packets.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `pingHttpWaiter(): void`
|
||||
|
||||
Resume HttpWaiter.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setExtra(\danog\MadelineProto\DataCenterConnection $extra, int $id): void`
|
||||
|
||||
@ -261,6 +299,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getExtra(): \danog\MadelineProto\MTProto`
|
||||
|
||||
@ -272,6 +312,8 @@ Get main instance.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getShared(): \danog\MadelineProto\DataCenterConnection`
|
||||
|
||||
@ -283,6 +325,8 @@ Get shared connection instance.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `disconnect(bool $temporary): void`
|
||||
|
||||
@ -293,6 +337,8 @@ Parameters:
|
||||
* `$temporary`: `bool` Whether the disconnection is temporary, triggered by the reconnect method
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `reconnect(): \Generator`
|
||||
|
||||
@ -304,30 +350,40 @@ Reconnect to DC.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getName(): string`
|
||||
|
||||
Get name.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `resetSession(): void`
|
||||
|
||||
Reset MTProto session.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `createSession(): void`
|
||||
|
||||
Create MTProto session if needed.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `backupSession(): array`
|
||||
|
||||
Backup eventual unsent messages before session deletion.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `ackOutgoingMessageId(string|int $message_id): bool`
|
||||
|
||||
@ -338,6 +394,8 @@ Parameters:
|
||||
* `$message_id`: `string|int` Message Id
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `gotResponseForOutgoingMessageId(string|int $message_id): bool`
|
||||
|
||||
@ -348,6 +406,8 @@ Parameters:
|
||||
* `$message_id`: `string|int` Message ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `ackIncomingMessageId(string|int $message_id): bool`
|
||||
|
||||
@ -358,18 +418,24 @@ Parameters:
|
||||
* `$message_id`: `string|int` Message ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `hasPendingCalls(): bool`
|
||||
|
||||
Check if there are some pending calls.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPendingCalls(): array`
|
||||
|
||||
Get all pending calls (also clear pending state requests).
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `handleReject(array $request, \Throwable $data): void`
|
||||
|
||||
@ -386,12 +452,16 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `handleResponse(): void`
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `methodRecall(string $watcherId, array $args): void`
|
||||
|
||||
@ -403,6 +473,8 @@ Parameters:
|
||||
* `$args`: `array` Args
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `methodCallAsyncRead(string $method, array|\Generator $args, array $aargs): \Generator`
|
||||
|
||||
@ -424,6 +496,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `methodCallAsyncWrite(string $method, array|\Generator $args, array $aargs): \Generator`
|
||||
|
||||
@ -445,6 +519,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `objectCall(string $object, array $args, array $aargs): \Generator`
|
||||
|
||||
@ -462,6 +538,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `sendMsgsStateInfo(string|int $req_msg_id, array $msg_ids): \Generator`
|
||||
|
||||
@ -478,4 +556,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -18,8 +18,6 @@ value is sent into the generator, while a failure reason is thrown into the gene
|
||||
asynchronous code can be written without callbacks and be structured like synchronous code.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `fail(\Throwable $reason): void`
|
||||
* `offsetGet(mixed $offset): \Amp\Promise`
|
||||
@ -43,6 +41,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetGet(mixed $offset): \Amp\Promise`
|
||||
|
||||
@ -58,28 +58,40 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTrace(): array`
|
||||
|
||||
Get current stack trace for running coroutine.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getFrame(): array`
|
||||
|
||||
Get current execution frame.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `jsonSerialize(): string`
|
||||
|
||||
Obtain.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `onResolve()`
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Manages datacenters.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `setDataCenterConnections(array $saved): void`
|
||||
* `setVoIPEndpoints(array $endpoints): void`
|
||||
@ -47,6 +45,8 @@ Parameters:
|
||||
* `$saved`: `array` Saved auth array
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setVoIPEndpoints(array $endpoints): void`
|
||||
|
||||
@ -57,6 +57,8 @@ Parameters:
|
||||
* `$endpoints`: `array` Endpoints
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `dcConnect(string $dc_number, int $id): \Generator<bool>`
|
||||
|
||||
@ -73,6 +75,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `generateContexts(int $dc_number, string $uri, \Amp\Socket\ConnectContext $context): array`
|
||||
|
||||
@ -90,6 +94,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getAPI(): \danog\MadelineProto\MTProto`
|
||||
|
||||
@ -101,6 +107,8 @@ Get main API.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getHTTPClient(): \Amp\Http\Client\HttpClient`
|
||||
|
||||
@ -112,6 +120,8 @@ Get async HTTP client.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getCookieJar(): \Amp\Http\Client\Cookie\CookieJar`
|
||||
|
||||
@ -123,6 +133,8 @@ Get async HTTP client cookies.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDNSClient(): \Amp\Dns\Resolver`
|
||||
|
||||
@ -134,6 +146,8 @@ Get DNS over HTTPS async DNS client.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getNonProxiedDNSClient(): \Amp\Dns\Resolver`
|
||||
|
||||
@ -145,6 +159,8 @@ Get non-proxied DNS over HTTPS async DNS client.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `fileGetContents(string $url): \Generator`
|
||||
|
||||
@ -165,6 +181,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getAuthConnection(string $dc): \danog\MadelineProto\Connection`
|
||||
|
||||
@ -180,6 +198,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getConnection(string $dc): \danog\MadelineProto\Connection`
|
||||
|
||||
@ -195,6 +215,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `waitGetConnection(string $dc): \Generator`
|
||||
|
||||
@ -216,6 +238,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDataCenterConnection(string $dc): \danog\MadelineProto\DataCenterConnection`
|
||||
|
||||
@ -231,6 +255,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDataCenterConnections(): array<int|string, \danog\MadelineProto\DataCenterConnection>`
|
||||
|
||||
@ -242,6 +268,8 @@ Get all DataCenterConnection instances.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `has(string $dc): bool`
|
||||
|
||||
@ -252,6 +280,8 @@ Parameters:
|
||||
* `$dc`: `string` DC ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isHttp(string $datacenter): bool`
|
||||
|
||||
@ -262,6 +292,8 @@ Parameters:
|
||||
* `$datacenter`: `string` DC ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `byIPAddress(string $datacenter): bool`
|
||||
|
||||
@ -272,6 +304,8 @@ Parameters:
|
||||
* `$datacenter`: `string` DC ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getDcs(bool $all): array`
|
||||
|
||||
@ -282,4 +316,8 @@ Parameters:
|
||||
* `$all`: `bool` Whether to get all possible DC IDs, or only connected ones
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Datacenter connection.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Constants
|
||||
* `danog\MadelineProto\DataCenterConnection::READ_WEIGHT`:
|
||||
|
||||
@ -78,12 +76,16 @@ Parameters:
|
||||
* `$needsReconnect`: `bool` Whether the socket has to be reconnected
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `shouldReconnect(): bool`
|
||||
|
||||
Whether this sockets needs to be reconnected.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getAuthKey(bool $temp): \danog\MadelineProto\MTProto\AuthKey`
|
||||
|
||||
@ -99,6 +101,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `hasAuthKey(bool $temp): bool`
|
||||
|
||||
@ -109,6 +113,8 @@ Parameters:
|
||||
* `$temp`: `bool`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setAuthKey(\danog\MadelineProto\MTProto\AuthKey|null $key, bool $temp): void`
|
||||
|
||||
@ -125,6 +131,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTempAuthKey(): \danog\MadelineProto\MTProto\TempAuthKey`
|
||||
|
||||
@ -136,6 +144,8 @@ Get temporary authorization key.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPermAuthKey(): \danog\MadelineProto\MTProto\PermAuthKey`
|
||||
|
||||
@ -147,18 +157,24 @@ Get permanent authorization key.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `hasTempAuthKey(): bool`
|
||||
|
||||
Check if has temporary authorization key.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `hasPermAuthKey(): bool`
|
||||
|
||||
Check if has permanent authorization key.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setTempAuthKey(\danog\MadelineProto\MTProto\TempAuthKey|null $key): void`
|
||||
|
||||
@ -174,6 +190,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setPermAuthKey(\danog\MadelineProto\MTProto\PermAuthKey|null $key): void`
|
||||
|
||||
@ -189,6 +207,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `bind(bool $pfs): void`
|
||||
|
||||
@ -199,18 +219,24 @@ Parameters:
|
||||
* `$pfs`: `bool` Whether to bind using PFS
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isBound(): bool`
|
||||
|
||||
Check if auth keys are bound.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isAuthorized(): bool`
|
||||
|
||||
Check if we are logged in.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `authorized(bool $authorized): void`
|
||||
|
||||
@ -221,6 +247,8 @@ Parameters:
|
||||
* `$authorized`: `bool` Whether we are authorized
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `link(string $dc): void`
|
||||
|
||||
@ -231,24 +259,32 @@ Parameters:
|
||||
* `$dc`: `string` Main DC ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `resetSession(): void`
|
||||
|
||||
Reset MTProto sessions.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `createSession(): void`
|
||||
|
||||
Create MTProto sessions if needed.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `flush(): void`
|
||||
|
||||
Flush all pending packets.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getCtx(): \danog\MadelineProto\Stream\ConnectionContext`
|
||||
|
||||
@ -260,12 +296,16 @@ Get connection context.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `hasCtx(): bool`
|
||||
|
||||
Has connection context?
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `connect(\danog\MadelineProto\Stream\ConnectionContext $ctx, int $id): \Generator`
|
||||
|
||||
@ -283,6 +323,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `signalDisconnect(int $id): void`
|
||||
|
||||
@ -293,12 +335,16 @@ Parameters:
|
||||
* `$id`: `int` Connection ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `disconnect(): void`
|
||||
|
||||
Close all connections to DC.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `reconnect(): \Generator`
|
||||
|
||||
@ -310,12 +356,16 @@ Reconnect to DC.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `restoreBackup(): void`
|
||||
|
||||
Restore backed up messages.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getAuthConnection(): \danog\MadelineProto\Connection`
|
||||
|
||||
@ -327,6 +377,8 @@ Get connection for authorization.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `hasConnection(int $id): bool|int`
|
||||
|
||||
@ -337,6 +389,8 @@ Parameters:
|
||||
* `$id`: `int` Connection ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `waitGetConnection(): \Generator`
|
||||
|
||||
@ -354,6 +408,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getConnection(int $id): \danog\MadelineProto\Connection`
|
||||
|
||||
@ -369,12 +425,16 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `even(): void`
|
||||
|
||||
Even out round robin values.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `reading(bool $reading, int $x): void`
|
||||
|
||||
@ -386,6 +446,8 @@ Parameters:
|
||||
* `$x`: `int` Connection ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `writing(bool $writing, int $x): void`
|
||||
|
||||
@ -397,6 +459,8 @@ Parameters:
|
||||
* `$x`: `int` Connection ID
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setExtra(\danog\MadelineProto\MTProto $API): void`
|
||||
|
||||
@ -412,6 +476,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getExtra(): \danog\MadelineProto\MTProto`
|
||||
|
||||
@ -423,30 +489,40 @@ Get main instance.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isHttp(): bool`
|
||||
|
||||
Check if is an HTTP connection.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `byIPAddress(): bool`
|
||||
|
||||
Check if is connected directly by IP address.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isMedia(): bool`
|
||||
|
||||
Check if is a media connection.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isCDN(): bool`
|
||||
|
||||
Check if is a CDN connection.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getSettings(): \danog\MadelineProto\Settings\Connection`
|
||||
|
||||
@ -458,6 +534,8 @@ Get DC-specific settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getGenericSettings(): \danog\MadelineProto\Settings`
|
||||
|
||||
@ -469,10 +547,16 @@ Get global settings.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `jsonSerialize(): array`
|
||||
|
||||
JSON serialize function.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -13,6 +13,5 @@ Array caching trait.
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ DB array interface.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getArrayCopy(): \Amp\Promise`
|
||||
* `isset(string|int $key): \Amp\Promise`
|
||||
@ -42,6 +40,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset(string|int $key): \Amp\Promise`
|
||||
|
||||
@ -61,6 +61,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetGet(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -81,6 +83,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string|int $index, mixed $value): void`
|
||||
|
||||
@ -101,6 +105,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -116,6 +122,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Amp\Promise<int>`
|
||||
|
||||
@ -127,12 +135,16 @@ Count number of elements.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getIterator()`
|
||||
|
||||
Get iterator.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, null|\danog\MadelineProto\Db\DbType|array $value, \danog\MadelineProto\Settings\DatabaseAbstract $settings): \Amp\Promise<self>`
|
||||
|
||||
@ -151,4 +163,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,10 +14,10 @@ This factory class initializes the correct database backend for MadelineProto.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Constants
|
||||
* `danog\MadelineProto\Db\DbPropertiesFactory::TYPE_ARRAY`: Indicates a simple K-V array stored in a database backend.
|
||||
|
||||
Values can be objects or other arrays, but when lots of nesting is required, it's best to split the array into multiple arrays.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -18,7 +18,7 @@ You will have to define a `$dbProperties` static array property, with a list of
|
||||
|
||||
|
||||
|
||||
|
||||
## Properties
|
||||
* `$dbProperties`: `array<string, DbPropertiesFactory::TYPE_*>`
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it). ## Properties
|
||||
* `$dbProperties`: `array<string, DbPropertiesFactory::TYPE_*>`
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ MySQL driver wrapper.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Mysql\Pool>`
|
||||
|
||||
@ -41,4 +39,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Postgres driver wrapper.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Postgres\Pool>`
|
||||
|
||||
@ -41,4 +39,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Redis driver wrapper.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator`
|
||||
|
||||
@ -46,4 +44,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Array caching trait.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getArrayCopy(): \Amp\Promise`
|
||||
* `isset(string|int $key): \Amp\Promise`
|
||||
@ -42,6 +40,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset(string|int $key): \Amp\Promise`
|
||||
|
||||
@ -61,6 +61,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetGet(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -81,6 +83,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string|int $index, mixed $value): void`
|
||||
|
||||
@ -101,6 +105,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -116,6 +122,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Amp\Promise<int>`
|
||||
|
||||
@ -127,12 +135,16 @@ Count number of elements.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getIterator()`
|
||||
|
||||
Get iterator.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, null|\danog\MadelineProto\Db\DbType|array $value, \danog\MadelineProto\Settings\DatabaseAbstract $settings): \Amp\Promise<self>`
|
||||
|
||||
@ -151,4 +163,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Memory database backend.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Constants
|
||||
* `danog\MadelineProto\Db\MemoryArray::STD_PROP_LIST`:
|
||||
|
||||
@ -43,4 +41,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ MySQL database backend.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `initStartup(): \Generator`
|
||||
* `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
@ -37,6 +35,8 @@ Initialize on startup.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
|
||||
@ -49,6 +49,8 @@ Parameters:
|
||||
|
||||
Return value: true if the offset exists, otherwise false
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string|int $index, $value)`
|
||||
|
||||
@ -62,6 +64,8 @@ The index to set for.
|
||||
* `$value`: ``
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -79,6 +83,8 @@ The offset to unset.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Promise<int> The number of elements or public properties in the associated
|
||||
array or object, respectively.`
|
||||
@ -89,6 +95,8 @@ Count elements.
|
||||
Return value: The number of elements or public properties in the associated
|
||||
array or object, respectively.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `initConnection(\danog\MadelineProto\Settings\Database\Mysql $settings): \Generator`
|
||||
|
||||
@ -105,6 +113,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise`
|
||||
|
||||
@ -128,4 +138,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ MySQL database backend, no caching.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `initStartup(): \Generator`
|
||||
* `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
@ -37,6 +35,8 @@ Initialize on startup.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
|
||||
@ -49,6 +49,8 @@ Parameters:
|
||||
|
||||
Return value: true if the offset exists, otherwise false
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string|int $index, $value)`
|
||||
|
||||
@ -62,6 +64,8 @@ The index to set for.
|
||||
* `$value`: ``
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -79,6 +83,8 @@ The offset to unset.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Promise<int> The number of elements or public properties in the associated
|
||||
array or object, respectively.`
|
||||
@ -89,6 +95,8 @@ Count elements.
|
||||
Return value: The number of elements or public properties in the associated
|
||||
array or object, respectively.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `initConnection(\danog\MadelineProto\Settings\Database\Mysql $settings): \Generator`
|
||||
|
||||
@ -105,6 +113,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise`
|
||||
|
||||
@ -128,4 +138,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Postgres database backend, no caching.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `initStartup(): \Generator`
|
||||
* `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator`
|
||||
@ -38,6 +36,8 @@ Initialize on startup.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator`
|
||||
|
||||
@ -54,6 +54,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string $index, $value)`
|
||||
|
||||
@ -67,6 +69,8 @@ The index to set for.
|
||||
* `$value`: ``
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
|
||||
@ -79,6 +83,8 @@ Parameters:
|
||||
|
||||
Return value: true if the offset exists, otherwise false
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string $index): \Amp\Promise`
|
||||
|
||||
@ -96,6 +102,8 @@ The offset to unset.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getArrayCopy(): \Amp\Promise<array>`
|
||||
|
||||
@ -107,6 +115,8 @@ Get array copy.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Promise<int> The number of elements or public properties in the associated
|
||||
array or object, respectively.`
|
||||
@ -117,6 +127,8 @@ Count elements.
|
||||
Return value: The number of elements or public properties in the associated
|
||||
array or object, respectively.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise`
|
||||
|
||||
@ -140,4 +152,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Redis database backend, no caching.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `initStartup(): \Generator`
|
||||
* `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator`
|
||||
@ -38,6 +36,8 @@ Initialize on startup.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator`
|
||||
|
||||
@ -54,6 +54,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string $index, $value)`
|
||||
|
||||
@ -67,6 +69,8 @@ The index to set for.
|
||||
* `$value`: ``
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
|
||||
@ -79,6 +83,8 @@ Parameters:
|
||||
|
||||
Return value: true if the offset exists, otherwise false
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string $index): \Amp\Promise`
|
||||
|
||||
@ -96,6 +102,8 @@ The offset to unset.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getArrayCopy(): \Amp\Promise<array>`
|
||||
|
||||
@ -107,6 +115,8 @@ Get array copy.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Promise<int> The number of elements or public properties in the associated
|
||||
array or object, respectively.`
|
||||
@ -117,6 +127,8 @@ Count elements.
|
||||
Return value: The number of elements or public properties in the associated
|
||||
array or object, respectively.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise`
|
||||
|
||||
@ -140,4 +152,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Postgres database backend.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `initStartup(): \Generator`
|
||||
* `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator`
|
||||
@ -38,6 +36,8 @@ Initialize on startup.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `initConnection(\danog\MadelineProto\Settings\Database\Postgres $settings): \Generator`
|
||||
|
||||
@ -54,6 +54,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string $index, $value)`
|
||||
|
||||
@ -67,6 +69,8 @@ The index to set for.
|
||||
* `$value`: ``
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
|
||||
@ -79,6 +83,8 @@ Parameters:
|
||||
|
||||
Return value: true if the offset exists, otherwise false
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string $index): \Amp\Promise`
|
||||
|
||||
@ -96,6 +102,8 @@ The offset to unset.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getArrayCopy(): \Amp\Promise<array>`
|
||||
|
||||
@ -107,6 +115,8 @@ Get array copy.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Promise<int> The number of elements or public properties in the associated
|
||||
array or object, respectively.`
|
||||
@ -117,6 +127,8 @@ Count elements.
|
||||
Return value: The number of elements or public properties in the associated
|
||||
array or object, respectively.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise`
|
||||
|
||||
@ -140,4 +152,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Redis database backend.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `initStartup(): \Generator`
|
||||
* `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator`
|
||||
@ -38,6 +36,8 @@ Initialize on startup.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `initConnection(\danog\MadelineProto\Settings\Database\Redis $settings): \Generator`
|
||||
|
||||
@ -54,6 +54,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string $index, $value)`
|
||||
|
||||
@ -67,6 +69,8 @@ The index to set for.
|
||||
* `$value`: ``
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset( $key): \Promise<bool> true if the offset exists, otherwise false`
|
||||
|
||||
@ -79,6 +83,8 @@ Parameters:
|
||||
|
||||
Return value: true if the offset exists, otherwise false
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string $index): \Amp\Promise`
|
||||
|
||||
@ -96,6 +102,8 @@ The offset to unset.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getArrayCopy(): \Amp\Promise<array>`
|
||||
|
||||
@ -107,6 +115,8 @@ Get array copy.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Promise<int> The number of elements or public properties in the associated
|
||||
array or object, respectively.`
|
||||
@ -117,6 +127,8 @@ Count elements.
|
||||
Return value: The number of elements or public properties in the associated
|
||||
array or object, respectively.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise`
|
||||
|
||||
@ -140,4 +152,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Generic SQL database backend.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getInstance(string $table, \danog\MadelineProto\Db\DbArray|array|null $value, \danog\MadelineProto\Settings\Database\DatabaseAbstract $settings): \Amp\Promise`
|
||||
* `getArrayCopy(): \Amp\Promise`
|
||||
@ -49,6 +47,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getArrayCopy(): \Amp\Promise`
|
||||
|
||||
@ -65,6 +65,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isset(string|int $key): \Amp\Promise`
|
||||
|
||||
@ -84,6 +86,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetGet(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -104,6 +108,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetSet(string|int $index, mixed $value): void`
|
||||
|
||||
@ -124,6 +130,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `offsetUnset(string|int $index): \Amp\Promise`
|
||||
|
||||
@ -139,6 +147,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `count(): \Amp\Promise<int>`
|
||||
|
||||
@ -150,10 +160,16 @@ Count number of elements.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getIterator()`
|
||||
|
||||
Get iterator.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -14,8 +14,6 @@ Basic exception.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `extension(string $extensionName): self`
|
||||
* `exceptionErrorHandler(): false`
|
||||
@ -35,18 +33,24 @@ Parameters:
|
||||
* `$extensionName`: `string` Extension name
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `exceptionErrorHandler(): false`
|
||||
|
||||
ExceptionErrorHandler.
|
||||
Error handler
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `exceptionHandler(): void`
|
||||
|
||||
ExceptionErrorHandler.
|
||||
Error handler
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `updateTLTrace(array $trace): void`
|
||||
|
||||
@ -57,12 +61,16 @@ Parameters:
|
||||
* `$trace`: `array`
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getTLTrace(): string`
|
||||
|
||||
Get TL trace.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setTLTrace(string $tlTrace): void`
|
||||
|
||||
@ -73,6 +81,8 @@ Parameters:
|
||||
* `$tlTrace`: `string` TL trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `prettifyTL(string $init, array $trace): void`
|
||||
|
||||
@ -84,4 +94,8 @@ Parameters:
|
||||
* `$trace`: `array` Async trace
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ File callback interface.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getFile(): mixed`
|
||||
|
||||
@ -25,4 +23,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get file.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ File callback interface.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getFile(): mixed`
|
||||
|
||||
@ -25,4 +23,8 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get file.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -13,6 +13,5 @@ MadelineProto fileserver.
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ IPC client.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `loop(callable $callback): \Generator`
|
||||
* `unreference(): void`
|
||||
@ -55,18 +53,24 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `unreference(): void`
|
||||
|
||||
Unreference.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isIpc(): bool`
|
||||
|
||||
Whether we're an IPC client instance.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `uploadFromUrl(string|\danog\MadelineProto\FileCallbackInterface $url, int $size, string $fileName, callable $cb, bool $encrypted): \Generator`
|
||||
|
||||
@ -87,6 +91,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `uploadFromCallable(mixed $callable, int $size, string $mime, string $fileName, callable $cb, bool $seekable, bool $encrypted): \Generator`
|
||||
|
||||
@ -115,6 +121,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `uploadFromTgfile(mixed $media, callable $cb, bool $encrypted): \Generator`
|
||||
|
||||
@ -138,6 +146,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `downloadToDir(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $dir, callable $cb): \Generator Downloaded file path`
|
||||
|
||||
@ -164,6 +174,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `downloadToFile(mixed $messageMedia, string|\danog\MadelineProto\FileCallbackInterface $file, callable $cb): \Generator Downloaded file path`
|
||||
|
||||
@ -190,6 +202,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `downloadToCallable(mixed $messageMedia, callable|\danog\MadelineProto\FileCallbackInterface $callable, callable $cb, bool $seekable, int $offset, int $end, int $part_size): \Generator`
|
||||
|
||||
@ -220,6 +234,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setEventHandler(mixed $params): void`
|
||||
|
||||
@ -230,6 +246,8 @@ Parameters:
|
||||
* `$params`: `mixed` Params
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getEventHandler(mixed $params): void`
|
||||
|
||||
@ -240,6 +258,8 @@ Parameters:
|
||||
* `$params`: `mixed` Params
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `logger(string $param, int $level, string $file): void`
|
||||
|
||||
@ -252,6 +272,8 @@ Parameters:
|
||||
* `$file`: `string` File where the message originated
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `disconnect(): \Generator`
|
||||
|
||||
@ -268,6 +290,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `start(): \Generator`
|
||||
|
||||
@ -279,12 +303,16 @@ Log in to telegram (via CLI or web).
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getWebTemplate(): string`
|
||||
|
||||
Get web template.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setWebTemplate(string $template): void`
|
||||
|
||||
@ -295,6 +323,8 @@ Parameters:
|
||||
* `$template`: `string` Template
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `downloadToBrowser(array|string $messageMedia, callable $cb): \Generator`
|
||||
|
||||
@ -311,6 +341,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `downloadToStream(mixed $messageMedia, mixed|\danog\MadelineProto\FileCallbackInterface $stream, callable $cb, int $offset, int $end): \Generator`
|
||||
|
||||
@ -337,6 +369,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `downloadToResponse(array|string $messageMedia, \ServerRequest $request, callable $cb): \Generator Returned response`
|
||||
|
||||
@ -362,6 +396,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `uploadEncrypted(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb): \Generator`
|
||||
|
||||
@ -388,6 +424,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `upload(\danog\MadelineProto\FileCallbackInterface|string|array $file, string $fileName, callable $cb, bool $encrypted): \Generator`
|
||||
|
||||
@ -415,6 +453,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `uploadFromStream(mixed $stream, int $size, string $mime, string $fileName, callable $cb, bool $encrypted): \Generator`
|
||||
|
||||
@ -441,4 +481,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ IPC client.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `logger(string $param, int $level, string $file): void`
|
||||
* `disconnect(): \Generator`
|
||||
@ -32,6 +30,8 @@ Parameters:
|
||||
* `$file`: `string` File where the message originated
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `disconnect(): \Generator`
|
||||
|
||||
@ -48,4 +48,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ IPC state class.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `getStartupTime(): float`
|
||||
* `getStartupId(): int`
|
||||
@ -27,12 +25,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Get startup time.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getStartupId(): int`
|
||||
|
||||
Get startup ID.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getException(): ?\Throwable`
|
||||
|
||||
@ -44,4 +46,8 @@ Get exception.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ IPC server.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Constants
|
||||
* `danog\MadelineProto\Ipc\Server::SHUTDOWN`: Shutdown server.
|
||||
|
||||
@ -45,6 +43,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `startMe(\danog\MadelineProto\SessionPaths $session): \Amp\Promise`
|
||||
|
||||
@ -61,6 +61,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `waitShutdown(): \Amp\Promise`
|
||||
|
||||
@ -72,6 +74,8 @@ Wait for shutdown.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `loop(): \Generator`
|
||||
|
||||
@ -83,6 +87,8 @@ Main loop.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setSettings(\danog\MadelineProto\Settings\Ipc $settings): self`
|
||||
|
||||
@ -98,12 +104,16 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isRunning(): bool`
|
||||
|
||||
Check whether loop is running.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `signal(mixed|\Throwable $what): void`
|
||||
|
||||
@ -119,6 +129,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `waitSignal(\Promise|\Generator $promise): \Promise`
|
||||
|
||||
@ -144,4 +156,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ IPC callback server.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Constants
|
||||
* `danog\MadelineProto\Ipc\ServerCallback::SHUTDOWN`: Shutdown server.
|
||||
|
||||
@ -45,6 +43,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `startMe(\danog\MadelineProto\SessionPaths $session): \Amp\Promise`
|
||||
|
||||
@ -61,6 +61,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `waitShutdown(): \Amp\Promise`
|
||||
|
||||
@ -72,6 +74,8 @@ Wait for shutdown.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `loop(): \Generator`
|
||||
|
||||
@ -83,6 +87,8 @@ Main loop.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `setSettings(\danog\MadelineProto\Settings\Ipc $settings): self`
|
||||
|
||||
@ -98,12 +104,16 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isRunning(): bool`
|
||||
|
||||
Check whether loop is running.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `signal(mixed|\Throwable $what): void`
|
||||
|
||||
@ -119,6 +129,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `waitSignal(\Promise|\Generator $promise): \Promise`
|
||||
|
||||
@ -144,4 +156,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Callback payload wrapper.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `create(mixed $data, \danog\MadelineProto\SessionPaths $ipc): \Generator`
|
||||
* `wrap(object|callable $callback, bool $wrapObjects): void`
|
||||
@ -45,6 +43,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `wrap(object|callable $callback, bool $wrapObjects): void`
|
||||
|
||||
@ -56,6 +56,8 @@ Parameters:
|
||||
* `$wrapObjects`: `bool` Whether to wrap object methods, too
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `logger(string $param, int $level, string $file): void`
|
||||
|
||||
@ -68,6 +70,8 @@ Parameters:
|
||||
* `$file`: `string` File where the message originated
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `disconnect(): \Generator`
|
||||
|
||||
@ -84,4 +88,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -13,6 +13,5 @@ Generic callback wrapper object.
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ Logger class.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Constants
|
||||
* `danog\MadelineProto\Logger::LEVEL_ULTRA_VERBOSE`: Ultra verbose level.
|
||||
|
||||
@ -59,6 +57,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `log(mixed $param, int $level): void`
|
||||
|
||||
@ -70,6 +70,8 @@ Parameters:
|
||||
* `$level`: `int` Logging level
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `logger(mixed $param, int $level, string $file): void`
|
||||
|
||||
@ -82,6 +84,8 @@ Parameters:
|
||||
* `$file`: `string` File that originated the message
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `getPsrLogger(): \Psr\Log\LoggerInterface`
|
||||
|
||||
@ -93,4 +97,8 @@ Get PSR logger.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ API loop trait.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `start(): bool`
|
||||
* `isRunning(): bool`
|
||||
@ -26,10 +24,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Start the loop.
|
||||
Returns false if the loop is already running.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isRunning(): bool`
|
||||
|
||||
Check whether loop is running.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ RPC call status check loop.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `loop(): \Generator`
|
||||
* `pause(?int $time): \Promise Resolved when the loop is resumed`
|
||||
@ -37,6 +35,8 @@ Main loop.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `pause(?int $time): \Promise Resolved when the loop is resumed`
|
||||
|
||||
@ -49,6 +49,8 @@ Parameters:
|
||||
|
||||
Return value: Resolved when the loop is resumed
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `resume(): \Promise Resolved when the loop is paused again`
|
||||
|
||||
@ -57,6 +59,8 @@ Resume the loop.
|
||||
|
||||
Return value: Resolved when the loop is paused again
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `resumeDefer(): \Promise Resolved when the loop is paused again`
|
||||
|
||||
@ -65,18 +69,24 @@ Defer resuming the loop to next tick.
|
||||
|
||||
Return value: Resolved when the loop is paused again
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `start(): bool`
|
||||
|
||||
Start the loop.
|
||||
Returns false if the loop is already running.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isRunning(): bool`
|
||||
|
||||
Check whether loop is running.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `signal(mixed|\Throwable $what): void`
|
||||
|
||||
@ -92,6 +102,8 @@ Parameters:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `waitSignal(\Promise|\Generator $promise): \Promise`
|
||||
|
||||
@ -117,4 +129,8 @@ Fully typed return value:
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
@ -14,8 +14,6 @@ RPC call status check loop.
|
||||
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
## Method list:
|
||||
* `start(): bool`
|
||||
* `isRunning(): bool`
|
||||
@ -26,10 +24,16 @@ Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||||
Start the loop.
|
||||
Returns false if the loop is already running.
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
### `isRunning(): bool`
|
||||
|
||||
Check whether loop is running.
|
||||
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
||||
---
|
||||
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user