Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Jarves
Twig
TranslateExtension
PHP Class Jarves\Twig\TranslateExtension
Inheritance:
extends
Twig_Extension
Datei anzeigen
Open project: jarves/jarves
Protected Properties
Property
Type
Description
$translator
Jarves\Translation\TranslationInterface
Public Methods
Method
Description
__construct
(
$translator
)
getFunctions
( )
getName
( )
t
(
$t
,
$plural
= '',
$count
)
tc
(
$context
,
$t
,
$plural
= '',
$count
)
Method Details
__construct()
public
method
public
__construct
(
$translator
)
getFunctions()
public
method
public
getFunctions
( )
getName()
public
method
public
getName
( )
t()
public
method
public
t
(
$t
,
$plural
= '',
$count
)
tc()
public
method
public
tc
(
$context
,
$t
,
$plural
= '',
$count
)
Property Details
$translator
protected_oe property
protected
TranslationInterface,Jarves\Translation
$translator
return
Jarves\Translation\TranslationInterface