Suggestion to create base class for key-value storages 2#697
Suggestion to create base class for key-value storages 2#697afilippov1985 wants to merge 16 commits intobshaffer:developfrom
Conversation
|
I like this approach. Could you add some very descriptive doc-blocks in that change pls. 😄 |
|
This is awesome! a few things
|
|
Hmm.. I don't see any tabs. |
|
|
|
Yes, that is what I had in mind! This is tricky though because this would
|
|
Yes, I also wanted to mention about this. Traits require PHP >=5.4 |
|
Oops... travis not working [https://travis-ci.org/bshaffer/oauth2-server-php/jobs/102334251] |
|
Waiting for PR #701 |
|
So, with #701, this is passing? |
|
Rechecked. |
| } | ||
|
|
||
| protected function getValue($key) | ||
| protected function _makeKey($table, $key) |
There was a problem hiding this comment.
Is there a reason for underscore before method name?
There was a problem hiding this comment.
I removed underscores to conform PSR-2 style
|
@bluebaroncanada |
|
@bluebaroncanada @bshaffer |
It is renewed PR #676.
Rewritten storages:
Added storages: