Skip to content

Commit 4ae65e3

Browse files
committed
Document the allowed usage of slashes for key path delimiters
1 parent 8381de4 commit 4ae65e3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,15 @@ isset($data['name']) === $data->has('name');
121121
unset($data['name']);
122122
```
123123

124+
`/` can also be used as a path delimiter:
125+
126+
```php
127+
$data->set('a/b/c', 'd');
128+
echo $data->get('a/b/c'); // "d"
129+
130+
$data->get('a/b/c') === $data->get('a.b.c'); // true
131+
```
132+
124133
License
125134
-------
126135

0 commit comments

Comments
 (0)