SafeGetter
Namespace
IO\Helper
Methods
public static get($object, $path):mixed
Get a nested property of an object/array.
Type |
Name |
Description |
|
The object / array to get the property from |
|
|
The path of the property (e.g. "path.to.property"). To query list entries you can pass paths like "list.{id, 5}.name". This will query the first list entry having the id '5' |
Thank you for your feedback!