Skip to content

Commit 5fd373a

Browse files
authored
Merge pull request #27 from dachcom-digital/docs/readme
update readme
2 parents ac4934a + fa43b86 commit 5fd373a

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,15 @@ Options:
182182
Identifier: `object_getter_extractor`
183183
Returns value of object getter.
184184

185-
Return Type: `string|null`
185+
Return Type: `bool|int|float|string|array|null`
186186
Options:
187187

188-
| Name | Default Value | Allowed Type | Description |
189-
|:-----------------------------|:--------------|:---------------|:------------|
190-
|`method` | id | string | |
191-
|`arguments` | [] | array | |
188+
| Name | Default Value | Allowed Type | Description |
189+
|:-----------------------------|:--------------|:---------------|:------------------------------------------------|
190+
|`method` | id | string | |
191+
|`arguments` | [] | array | |
192+
|`clean_string` | true | bool | cleans HTML and whitespace (if value is string) |
193+
|`transform_callback` | null | null\|closure | a callback function for further value transform |
192194

193195
##### ObjectRelationsGetterExtractor
194196
Identifier: `object_relations_getter_extractor`
@@ -201,6 +203,7 @@ Options:
201203
|:-----------------------------|:--------------|:---------------|:------------|
202204
|`relations` | null | string | |
203205
|`method` | id | string | |
206+
|`arguments` | [] | array | |
204207

205208

206209
##### ObjectPathGenerator

0 commit comments

Comments
 (0)