MongoHybrid\Client::hmget PHP Метод

hmget() публичный Метод

Get the values of all the given hash fields
public hmget ( string $key ) : array
$key string
Результат array
    public function hmget($key)
    {
        $set = $this->getKey($collection, $key, []);
        $fields = func_get_args();
        $values = [];
        for ($i = 1; $i < count($fields); $i++) {
            $field = $fields[$i];
            $values[] = isset($set[$field]) ? $set[$field] : null;
        }
        return $values;
    }