get()
get(array|\ArrayAccess $data, string|array $path, mixed $default = null) : mixed
Get a single value specified by $path out of $data.
Does not support the full dot notation feature set, but is faster for simple read operations.
Parameters
| array|\ArrayAccess | $data | Array of data or object implementing \ArrayAccess interface to operate on.  | 
                            
| string|array | $path | The path being searched for. Either a dot separated string, or an array of path segments.  | 
                            
| mixed | $default | The return value when the path does not exist  | 
                            
Throws
- \InvalidArgumentException
 
Returns
mixed —The value fetched from the array, or null.