File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1414use Translation \Common \Model \Message ;
1515
1616/**
17- * The storage is a place when you can store your translations. A database, filesystem or a third party platform.
17+ * The storage is a place when you can store your translations. A database, filesystem
18+ * or a third party platform.
1819 */
1920interface Storage
2021{
@@ -29,6 +30,14 @@ interface Storage
2930 */
3031 public function get ($ locale , $ domain , $ key );
3132
33+ /**
34+ * Create a new translation or asset. If a translation already exist this function
35+ * will do nothing.
36+ *
37+ * @param Message $message
38+ */
39+ public function create (Message $ message );
40+
3241 /**
3342 * Update a translation. Creates a translation if there is none to update.
3443 *
You can’t perform that action at this time.
0 commit comments