Documentation

Interface Phalcon\Translate\AdapterInterface

Source on GitHub

Phalcon\Translate\AdapterInterface initializer

Methods

abstract public string query (string $index, [array $placeholders])

Returns the translation related to the given key

abstract public boolean exists (string $index)

Check whether is defined a translation key in the internal array