Translatable

TranslatableFactoryInterface

Interface for factory class of multilingual strings.

Tags
author

Jakub Jabůrek jaburek.jakub@gmail.com

subpackage

Factory

Table of Contents

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, string> $variants) : Translatable
Parameters
$variants : array<string, string>

language variants

Return values
Translatable

new instance


        
On this page

Search results