Translatable

MultilingualStringFactory
in package
implements TranslatableFactoryInterface

Factory class for multilingual strings.

Tags
author

Jakub Jabůrek jaburek.jakub@gmail.com

subpackage

Factory

psalm-suppress

UnusedClass

Table of Contents

Interfaces

TranslatableFactoryInterface
Interface for factory class of multilingual strings.

Methods

create()  : Translatable
Creates a new Translatable instance with the given language variants.

Methods

create()

Creates a new Translatable instance with the given language variants.

public create(array<string|int, mixed> $variants) : Translatable
Parameters
$variants : array<string|int, mixed>

language variants

Tags
inheritdoc
Return values
Translatable

new instance


        
On this page

Search results