Usage:
$data = array(
'color' => '色'
);
Catalog::write('runtime', 'message', 'ja', $data);
public static write ( string $name, string $category, string $locale, mixed $data, array $options = [] ) : boolean | ||
$name | string | Provide a configuration name to use for writing. |
$category | string | A (dot-delimited) category. |
$locale | string | A locale identifier. |
$data | mixed | If method is used without specifying an id must be an array. |
$options | array | Valid options are: - `'scope'`: The scope to use. |
Résultat | boolean | Success. |