We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16c0cb7 commit 0acf133Copy full SHA for 0acf133
2 files changed
composer.json
@@ -23,5 +23,10 @@
23
"psr-4": {
24
"Quillstack\\StorageInterface\\": "src/"
25
}
26
+ },
27
+ "extra": {
28
+ "branch-alias": {
29
+ "dev-main": "1.0.x-dev"
30
+ }
31
32
src/StorageInterface.php
@@ -22,10 +22,15 @@ public function exists(string $path): bool;
22
public function missing(string $path): bool;
/**
- * Saves the contents to the file.
+ * Saves the contents to the file, the existing file is overwritten.
*/
public function save(string $path, mixed $contents): bool;
+ /**
+ * Saves the contents at the end of the file.
+ */
+ public function add(string $path, mixed $contents): bool;
33
+
34
35
* Deletes one or more files.
36
0 commit comments