DownloadI18Next\Locale\Processor
-
Class name: Processor
-
Namespace: I18Next\Locale
Properties
$translations
private \I18Next\Locale\Translations $translations
$processorKey
private \I18Next\Locale\Key $processorKey
$processorValue
private \I18Next\Locale\Value $processorValue
Methods
__construct
mixed I18Next\Locale\Processor::__construct(\I18Next\Locale\Translations translations)
Processor constructor.
Arguments
process
string|null I18Next\Locale\Processor::process(string key, array|null parameters, string|null context)
Arguments
-
key string
-
parameters array|null
-
context string|null
getKeyNamespace
mixed|void I18Next\Locale\Processor::getKeyNamespace(key)
Arguments
getCountFromParameters
int|null I18Next\Locale\Processor::getCountFromParameters(array|null parameters)
Arguments
getContextFromParameters
string|null I18Next\Locale\Processor::getContextFromParameters(array|null parameters, string|null context)
Arguments
-
parameters array|null
-
context string|null
getNamespaceFromParameters
mixed|null I18Next\Locale\Processor::getNamespaceFromParameters(array|null parameters)
Arguments
processKeyForNamespaces
string I18Next\Locale\Processor::processKeyForNamespaces(string key, string|null keyNamespaceFromParameters)
Arguments
-
key string
-
keyNamespaceFromParameters string|null
|