From 088140201f6a57064a07370c87ac36b988755b0d Mon Sep 17 00:00:00 2001 From: Ruben Van Assche Date: Wed, 13 Mar 2024 11:55:18 +0100 Subject: [PATCH] Small docs update --- docs/as-a-resource/transformers.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/as-a-resource/transformers.md b/docs/as-a-resource/transformers.md index 5aced9b5f..220ae412c 100644 --- a/docs/as-a-resource/transformers.md +++ b/docs/as-a-resource/transformers.md @@ -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