You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -81,14 +81,16 @@ Note: All of the methods gracefully handle treating an individual item as an arr
81
81
The `get()` method allows you to fetch the value of a property, and receive a default if the value does not exist. It also supports depth which is indicated with a `.`:
82
82
83
83
```php
84
+
$obj->get('books.0'); // ArrayObject
84
85
$obj->get('books.0.title'); // "1984"
85
86
$obj->get('books.1.title'); // "Pride and Prejudice"
0 commit comments