DB\Mongo\Mapper::get PHP Method

get() public method

Retrieve value of field
public get ( $key ) : scalar | FALSE
$key string
return scalar | FALSE
    function &get($key)
    {
        if ($this->exists($key)) {
            return $this->document[$key];
        }
        user_error(sprintf(self::E_Field, $key), E_USER_ERROR);
    }