public function setId($id = null)
    {
        $this->id = ($id !== null) ? $id : SecureKey::generate();

        return $this;
    }
public function setId($id = null)
    {
        $this->id = ($id !== null) ? $id : SecureKey::generate();

        return $this;
    }
public function setId ( $ id = null ) { $ this -> id = ( $ id !== null ) ? $ id : SecureKey :: generate ( ) ; return $ this ; }
Set token ID

@param string $id Token ID

@return self
Set token ID