public static function hydrateCollection(array $users)
    {
        $hydrated = [];

        foreach ($users as $user) {
            $hydrated[] = self::hydrate($user);
        }

        return $hydrated;
    }
public static function hydrateCollection(array $users)
    {
        $hydrated = [];

        foreach ($users as $user) {
            $hydrated[] = self::hydrate($user);
        }

        return $hydrated;
    }
public static function hydrateCollection ( array $ users ) { $ hydrated = [ ] ; foreach ( $ users as $ user ) { $ hydrated [ ] = self :: hydrate ( $ user ) ; } return $ hydrated ; }
Hydrate a collection of user objects into a collection of
UserEntity objects

@param stdClass[] $users
@return UserEntity[]
Hydrate a collection of user objects into a collection of UserEntity objects