PHP Class Kdyby\Translation\LocaleResolver\ChainResolver

Author: Filip Procházka ([email protected])
Inheritance: extends Nette\Object, implements Kdyby\Translation\IUserLocaleResolver
ファイルを表示 Open project: kdyby/translation

Public Methods

Method Description
addResolver ( Kdyby\Translation\IUserLocaleResolver $resolver )
resolve ( Translator $translator ) : string | null

Method Details

addResolver() public method

public addResolver ( Kdyby\Translation\IUserLocaleResolver $resolver )
$resolver Kdyby\Translation\IUserLocaleResolver

resolve() public method

public resolve ( Translator $translator ) : string | null
$translator Kdyby\Translation\Translator
return string | null