-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Token Persistence #11
Conversation
A nice addition to this would be a PSR-16 (simple cache) adapter. If you want I can add it to the PR. |
Hello, Yes, a few month i was thinking about adding doctrine cache library. But now that we have PSR-16 adapter it would be a good addition to the library. if you don't mind, it would be great :) |
$this->assertTrue($tokenPersistence->hasToken()); | ||
$this->assertEquals($tokenPersistence->restoreToken()->getToken(), $token->getToken()); | ||
|
||
$tokenPersistence->deleteToken(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need be align a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep I was in a hurry last friday, I also forgot to stage the readme. I'll fix it tomorrow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok cool. Thank you for your contribution !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made the edits and squashed the changes in a single commit for cleaner history.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool thx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Thank you !
Better coverage Fix indentation. Update readme
I retrofited Sevastian Hübner work (@disasterdrop) on Token Persistence.
Extracted the changes from his hard fork, added documentation and test.
I credited him in PhpDoc
@author
field.