Looking at the usage, I thought this syntax was interesting:
//here's how we read a key $sx->readKey('username', $username);
Is there a reason you are requiring a variable to be passed by reference to the readKey function, instead of doing:
$username = $sx->readKey('username');
EDIT: ahh, I see you have a returnKey('key') function that works that way
Looking at the usage, I thought this syntax was interesting:
//here's how we read a key $sx->readKey('username', $username);
Is there a reason you are requiring a variable to be passed by reference to the readKey function, instead of doing:
$username = $sx->readKey('username');
EDIT: ahh, I see you have a returnKey('key') function that works that way