\Raven_Util

Utilities

Summary

Methods
Properties
Constants
get()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

get()

get(array  $array, string  $var, mixed  $default = null) : mixed

Because we love Python, this works much like dict.get() in Python.

Returns $var from $array if set, otherwise returns $default.

Parameters

array $array
string $var
mixed $default

Returns

mixed