Copied!

TranslationGatewayInterface

TranslationGatewayInterface.php : 14

Methods

publiccopy()

TranslationGatewayInterface.php : 51
public copy(int $fromId, int $toId) : void

Parameters

Name Type Default value Description
$fromId int - -
$toId int - -

publiccountByTranslatableId()

TranslationGatewayInterface.php : 23
public countByTranslatableId(int $id) : int

Parameters

Name Type Default value Description
$id int - -

Return values

int

publicdelete()

TranslationGatewayInterface.php : 49
public delete(int $id, int $languageId) : void

Parameters

Name Type Default value Description
$id int - -
$languageId int - -

publicexists()

TranslationGatewayInterface.php : 32
public exists(int $id, int $languageId) : bool

Parameters

Name Type Default value Description
$id int - -
$languageId int - -

Return values

bool

publicfindByTranslatableId()

TranslationGatewayInterface.php : 21
public findByTranslatableId(int $id) : array<string|int, T>

Parameters

Name Type Default value Description
$id int - -

Return values

array<string|int, T>

publicfindByTranslatableIds()

TranslationGatewayInterface.php : 30
public findByTranslatableIds(array<string|int, int> $ids) : array<string|int, T>

Parameters

Name Type Default value Description
$ids array<string|int, int> - -

Return values

array<string|int, T>

publicgetMetadata()

TranslationGatewayInterface.php : 16
public getMetadata() : TranslationDoctrineSchemaMetadataInterface

Return values

TranslationDoctrineSchemaMetadataInterface

publicinsert()

TranslationGatewayInterface.php : 37
public insert(int $id, int $languageId, array<string, mixed> $data) : int

Parameters

Name Type Default value Description
$id int - -
$languageId int - -
$data array<string, mixed> - -

Return values

int

publicsave()

TranslationGatewayInterface.php : 47
public save(int $id, int $languageId, array<string, mixed> $data) : void

Parameters

Name Type Default value Description
$id int - -
$languageId int - -
$data array<string, mixed> - -

publicupdate()

TranslationGatewayInterface.php : 42
public update(int $id, int $languageId, array<string, mixed> $data) : void

Parameters

Name Type Default value Description
$id int - -
$languageId int - -
$data array<string, mixed> - -