Skip to content

Commit 49d40d8

Browse files
committed
Added docs
1 parent 09e5cfe commit 49d40d8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Storage.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,16 @@ interface Storage
3030
public function get($locale, $domain, $key);
3131

3232
/**
33-
* Update a translation.
33+
* Update a translation. Creates a translation if there is none to update.
3434
*
3535
* @param Message $message
3636
*/
3737
public function update(Message $message);
3838

3939
/**
40-
* Remove a translation from the storage.
40+
* Remove a translation from the storage. If the storage implementation makes
41+
* a difference between translations and assets then this function MUST only
42+
* remove the translation.
4143
*
4244
* @param string $locale
4345
* @param string $domain

0 commit comments

Comments
 (0)