public function toUser($users)
    {
        $users = is_object($users) ? func_get_args() : $users;

        $userIds = array_map(function (AuthenticatableContract $user) {
            $this->checkUser($user);

            return $user->getAuthIdentifier();
        }, $users);

        return $this->toUserId($userIds);
    }
public function toUser($users)
    {
        $users = is_object($users) ? func_get_args() : $users;

        $userIds = array_map(function (AuthenticatableContract $user) {
            $this->checkUser($user);

            return $user->getAuthIdentifier();
        }, $users);

        return $this->toUserId($userIds);
    }
public function toUser ( $ users ) { $ users = is_object ( $ users ) ? func_get_args ( ) : $ users ; $ userIds = array_map ( function ( AuthenticatableContract $ user ) { $ this -> checkUser ( $ user ) ; return $ user -> getAuthIdentifier ( ) ; } , $ users ) ; return $ this -> toUserId ( $ userIds ) ; }
Set multiple recepients' fds by users.

@param $users

@return \SwooleTW\Http\Websocket\Authenticatable
Set multiple recepients fds by users .