Skip to content

Commit

Permalink
Small docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed Mar 13, 2024
1 parent 0c57aca commit 0881402
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/as-a-resource/transformers.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ This transformation depth can be set globally in the `data.php` config file:
'max_transformation_depth' => 20,
```

Setting the transformation depth to `null` will disable the transformation depth check:

```php
'max_transformation_depth' => null,
```

It is also possible if a `MaxTransformationDepthReached` exception should be thrown or an empty array should be returned:

```php
Expand Down

0 comments on commit 0881402

Please sign in to comment.