Ds\Map::get

Ds\Map::get

(PECL ds >= 1.0.0)

Ds\Map::getReturns the value for a given key.

Description

public mixed Ds\Map::get ( mixed $key [, mixed $default ] )

Returns the value for a given key, or an optional default value if the key could not be found.

Note:

Keys of type object are supported. If an object implements Ds\Hashable, equality will be determined by the object's equals function. If an