This commit is contained in:
Daniil Gentili 2024-03-31 19:12:01 +02:00
parent e48420bf17
commit 25e19238ad
6 changed files with 20 additions and 20 deletions

View File

@ -26,7 +26,7 @@ DB array interface.
* [`set(\TKey $key, \TValue $value): void`](#set-tkey-key-tvalue-value-void)
* [`get(\TKey $key): ?\TValue`](#get-tkey-key-tvalue)
* [`clear(): void`](#clear-void)
* [`getInstance(\danog\AsyncOrm\FieldConfig $config, ?self $previous): self`](#getinstance-danog-asyncorm-fieldconfig-config-self-previous-self)
* [`getInstance(\danog\AsyncOrm\DbArrayBuilder $config, ?self $previous): self`](#getinstance-danog-asyncorm-dbarraybuilder-config-self-previous-self)
* [`count(): mixed`](#count-mixed)
* [`getIterator(): mixed`](#getiterator-mixed)
@ -177,19 +177,19 @@ Clear all elements.
### `getInstance(\danog\AsyncOrm\FieldConfig $config, ?self $previous): self`
### `getInstance(\danog\AsyncOrm\DbArrayBuilder $config, ?self $previous): self`
Get instance.
Parameters:
* `$config`: `\danog\AsyncOrm\FieldConfig`
* `$config`: `\danog\AsyncOrm\DbArrayBuilder`
* `$previous`: `?self`
#### See also:
* [`\danog\AsyncOrm\FieldConfig`: Contains configuration for a single ORM field.](../../danog/AsyncOrm/FieldConfig.md)
* [`\danog\AsyncOrm\DbArrayBuilder`: Contains configuration needed to build a DbArray.](../../danog/AsyncOrm/DbArrayBuilder.md)

View File

@ -1,16 +1,16 @@
---
title: "danog\\AsyncOrm\\FieldConfig: Contains configuration for a single ORM field."
title: "danog\\AsyncOrm\\DbArrayBuilder: Contains configuration needed to build a DbArray."
description: ""
---
# `danog\AsyncOrm\FieldConfig`
# `danog\AsyncOrm\DbArrayBuilder`
[Back to index](../../index.md)
> Author: Daniil Gentili <daniil@daniil.it>
> Author: Alexander Pankratov <alexander@i-c-a.su>
Contains configuration for a single ORM field.
Contains configuration needed to build a DbArray.

View File

@ -16,7 +16,7 @@ Base class for driver-based arrays.
## Method list:
* [`getInstance(\danog\AsyncOrm\FieldConfig $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`](#getinstance-danog-asyncorm-fieldconfig-config-danog-asyncorm-dbarray-previous-danog-asyncorm-dbarray)
* [`getInstance(\danog\AsyncOrm\DbArrayBuilder $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`](#getinstance-danog-asyncorm-dbarraybuilder-config-danog-asyncorm-dbarray-previous-danog-asyncorm-dbarray)
* [`isset(\TKey $key): bool`](#isset-tkey-key-bool)
* [`offsetGet(\TKey $offset): \TValue`](#offsetget-tkey-offset-tvalue)
* [`offsetExists(\TKey $offset): bool`](#offsetexists-tkey-offset-bool)
@ -31,19 +31,19 @@ Base class for driver-based arrays.
* [`getIterator(): mixed`](#getiterator-mixed)
## Methods:
### `getInstance(\danog\AsyncOrm\FieldConfig $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`
### `getInstance(\danog\AsyncOrm\DbArrayBuilder $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`
Parameters:
* `$config`: `\danog\AsyncOrm\FieldConfig`
* `$config`: `\danog\AsyncOrm\DbArrayBuilder`
* `$previous`: `?\danog\AsyncOrm\DbArray`
#### See also:
* [`\danog\AsyncOrm\FieldConfig`: Contains configuration for a single ORM field.](../../../danog/AsyncOrm/FieldConfig.md)
* [`\danog\AsyncOrm\DbArrayBuilder`: Contains configuration needed to build a DbArray.](../../../danog/AsyncOrm/DbArrayBuilder.md)
* [`\danog\AsyncOrm\DbArray`: DB array interface.](../../../danog/AsyncOrm/DbArray.md)

View File

@ -17,7 +17,7 @@ Memory database backend.
## Method list:
* [`__construct(array $data)`](#__construct-array-data)
* [`getInstance(\danog\AsyncOrm\FieldConfig $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`](#getinstance-danog-asyncorm-fieldconfig-config-danog-asyncorm-dbarray-previous-danog-asyncorm-dbarray)
* [`getInstance(\danog\AsyncOrm\DbArrayBuilder $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`](#getinstance-danog-asyncorm-dbarraybuilder-config-danog-asyncorm-dbarray-previous-danog-asyncorm-dbarray)
* [`set(string|int $key, mixed $value): void`](#set-string-int-key-mixed-value-void)
* [`get(string|int $key): mixed`](#get-string-int-key-mixed)
* [`unset(string|int $key): void`](#unset-string-int-key-void)
@ -43,19 +43,19 @@ Parameters:
### `getInstance(\danog\AsyncOrm\FieldConfig $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`
### `getInstance(\danog\AsyncOrm\DbArrayBuilder $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`
Parameters:
* `$config`: `\danog\AsyncOrm\FieldConfig`
* `$config`: `\danog\AsyncOrm\DbArrayBuilder`
* `$previous`: `?\danog\AsyncOrm\DbArray`
#### See also:
* [`\danog\AsyncOrm\FieldConfig`: Contains configuration for a single ORM field.](../../../danog/AsyncOrm/FieldConfig.md)
* [`\danog\AsyncOrm\DbArrayBuilder`: Contains configuration needed to build a DbArray.](../../../danog/AsyncOrm/DbArrayBuilder.md)
* [`\danog\AsyncOrm\DbArray`: DB array interface.](../../../danog/AsyncOrm/DbArray.md)

View File

@ -23,7 +23,7 @@ Generic SQL database backend.
* [`count(): \int The number of elements or public properties in the associated
array or object, respectively.`](#count-int-the-number-of-elements-or-public-properties-in-the-associated-array-or-object-respectively)
* [`clear(): void`](#clear-void)
* [`getInstance(\danog\AsyncOrm\FieldConfig $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`](#getinstance-danog-asyncorm-fieldconfig-config-danog-asyncorm-dbarray-previous-danog-asyncorm-dbarray)
* [`getInstance(\danog\AsyncOrm\DbArrayBuilder $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`](#getinstance-danog-asyncorm-dbarraybuilder-config-danog-asyncorm-dbarray-previous-danog-asyncorm-dbarray)
* [`isset(\TKey $key): bool`](#isset-tkey-key-bool)
* [`offsetGet(\TKey $offset): \TValue`](#offsetget-tkey-offset-tvalue)
* [`offsetExists(\TKey $offset): bool`](#offsetexists-tkey-offset-bool)
@ -93,19 +93,19 @@ Clear all elements.
### `getInstance(\danog\AsyncOrm\FieldConfig $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`
### `getInstance(\danog\AsyncOrm\DbArrayBuilder $config, ?\danog\AsyncOrm\DbArray $previous): \danog\AsyncOrm\DbArray`
Parameters:
* `$config`: `\danog\AsyncOrm\FieldConfig`
* `$config`: `\danog\AsyncOrm\DbArrayBuilder`
* `$previous`: `?\danog\AsyncOrm\DbArray`
#### See also:
* [`\danog\AsyncOrm\FieldConfig`: Contains configuration for a single ORM field.](../../../danog/AsyncOrm/FieldConfig.md)
* [`\danog\AsyncOrm\DbArrayBuilder`: Contains configuration needed to build a DbArray.](../../../danog/AsyncOrm/DbArrayBuilder.md)
* [`\danog\AsyncOrm\DbArray`: DB array interface.](../../../danog/AsyncOrm/DbArray.md)

View File

@ -20,7 +20,7 @@ Async ORM based on AMPHP v3 and fibers.
* [\danog\AsyncOrm\Settings\SqlSettings: Generic SQL db backend settings.](danog/AsyncOrm/Settings/SqlSettings.md)
## Classes
* [\danog\AsyncOrm\FieldConfig: Contains configuration for a single ORM field.](danog/AsyncOrm/FieldConfig.md)
* [\danog\AsyncOrm\DbArrayBuilder: Contains configuration needed to build a DbArray.](danog/AsyncOrm/DbArrayBuilder.md)
* [\danog\AsyncOrm\KeyType: Specifies the type of keys.](danog/AsyncOrm/KeyType.md)
* [\danog\AsyncOrm\ValueType: Specifies the serializer to use when saving values.](danog/AsyncOrm/ValueType.md)
* [\danog\AsyncOrm\Annotations\OrmMappedArray: Attribute use to autoconfigure ORM properties.](danog/AsyncOrm/Annotations/OrmMappedArray.md)