Phalcon\Translate\Adapter\Database::set PHP Method

set() public method

Sets (insert or updates) a translation for given key
public set ( string $translateKey, string $message ) : boolean
$translateKey string
$message string
return boolean
    public function set($translateKey, $message)
    {
        return $this->exists($translateKey) ? $this->update($translateKey, $message) : $this->add($translateKey, $message);
    }