public function __construct($key, $secret, $ttl = 3600, $user_id = NULL) { parent::__construct($key, $secret); $this->ttl = $ttl; $this->user_id = $user_id; }
function __construct($key, $secret, $id = NULL, $uid = NULL) { $this->id = $id; $this->uid = $uid; parent::__construct($key, $secret); }