abstract class \mpf\interfaces\TranslatableObjectInterface

abstract class \mpf\interfaces\TranslatableObjectInterface

Inheritance -
Implements -
Uses -
Childs -
Available since version  0.1
Source Code https://github.com/mpf-soft/mpf/tree/master/interfaces/TranslatableObjectInterface.php

-no description found-

Attributes
No attributes found for this class!
Methods

public abstract mixed setTranslator (mixed $className)

  • $className

    -no description found-

Set a new translator; Must implement \mpf\translators\ITranslator

public abstract mixed getTranslator ()

Get current translator;

public abstract mixed translate (mixed $text)

  • $text

    -no description found-

Translate selected text;