Collections\DictionaryInterface::getOrElse PHP Method

getOrElse() public method

Returns the value associated with $key in the dictionary, returns $default if it does not.
public getOrElse ( $key, $default ) : mixed
$key
$default
return mixed
    public function getOrElse($key, $default);