Translations::merge_with()
最后更新于:2021-11-26 04:45:19
Translations::merge_with( Object$other)Merge $other in the current object.
参数
- $other
-
(Object) (Required) Another Translation object, whose translations will be merged in this one (passed by reference).
响应
(void)
源文件
文件: gc-includes/pomo/translations.php
function merge_with( &$other ) {
foreach ( $other->entries as $entry ) {
$this->entries[ $entry->key() ] = $entry;
}
}