so for creating a set I can do
Redis::sadd('example',[1,4,6,1,])
I tried many variations to also create a set with a ttl non worked:
Redis::sadd('example',100,[1,4,6,1,])
Redis::sadd('example',[1,4,6,1,],100)
Redis::saddex('example',100,[1,4,6,1,])
Redis::saddex('example',[1,4,6,1,],100)
via Amir Bar