File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ Establecer el contenido del archivo JSON:
9090``` php
9191/**
9292 * @throws CreateFileException if there is an error when creating a file.
93+ * @throws CreateDirectoryException if the directory cannot be created.
9394 * @throws UnavailableMethodException if the method is not available.
9495 */
9596public function set(array|object $content = []): void;
@@ -120,9 +121,10 @@ public function push(array|object $content): array;
120121## Excepciones utilizadas
121122
122123``` php
123- use Josantonius\Json\Exceptions\CreateFileException;
124124use Josantonius\Json\Exceptions\GetFileException;
125+ use Josantonius\Json\Exceptions\CreateFileException;
125126use Josantonius\Json\Exceptions\JsonErrorException;
127+ use Josantonius\Json\Exceptions\CreateDirectoryException;
126128use Josantonius\Json\Exceptions\UnavailableMethodException;
127129```
128130
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ Set the content of the JSON file:
9090``` php
9191/**
9292 * @throws CreateFileException if there is an error when creating a file.
93+ * @throws CreateDirectoryException if the directory cannot be created.
9394 * @throws UnavailableMethodException if the method is not available.
9495 */
9596public function set(array|object $content = []): void;
@@ -120,9 +121,10 @@ public function push(array|object $content): array;
120121## Exceptions Used
121122
122123``` php
123- use Josantonius\Json\Exceptions\CreateFileException;
124124use Josantonius\Json\Exceptions\GetFileException;
125+ use Josantonius\Json\Exceptions\CreateFileException;
125126use Josantonius\Json\Exceptions\JsonErrorException;
127+ use Josantonius\Json\Exceptions\CreateDirectoryException;
126128use Josantonius\Json\Exceptions\UnavailableMethodException;
127129```
128130
You can’t perform that action at this time.
0 commit comments