TranslationGatewayInterface
TranslationGatewayInterface.php
:
14
Interface
Methods¶
copy()
¶
TranslationGatewayInterface.php
:
51
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$fromId | int | - | - |
$toId | int | - | - |
countByTranslatableId()
¶
TranslationGatewayInterface.php
:
23
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - | - |
Return values
int
delete()
¶
TranslationGatewayInterface.php
:
49
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - | - |
$languageId | int | - | - |
exists()
¶
TranslationGatewayInterface.php
:
32
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - | - |
$languageId | int | - | - |
Return values
bool
findByTranslatableId()
¶
TranslationGatewayInterface.php
:
21
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - | - |
Return values
array<string|int, T>
findByTranslatableIds()
¶
TranslationGatewayInterface.php
:
30
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$ids | array<string|int, int> | - | - |
Return values
array<string|int, T>
getMetadata()
¶
TranslationGatewayInterface.php
:
16
|
|
Return values
TranslationDoctrineSchemaMetadataInterface
insert()
¶
TranslationGatewayInterface.php
:
37
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - | - |
$languageId | int | - | - |
$data | array<string, mixed> | - | - |
Return values
int
save()
¶
TranslationGatewayInterface.php
:
47
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - | - |
$languageId | int | - | - |
$data | array<string, mixed> | - | - |
update()
¶
TranslationGatewayInterface.php
:
42
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - | - |
$languageId | int | - | - |
$data | array<string, mixed> | - | - |