-
Notifications
You must be signed in to change notification settings - Fork 2.5k
add getAdapterInstance() that return adapter instance at Zend\Filter\Encrypt #6758
add getAdapterInstance() that return adapter instance at Zend\Filter\Encrypt #6758
Conversation
* @return string | ||
* @throws Exception\RuntimeException | ||
* @throws Exception\InvalidArgumentException | ||
* @return Encrypt\EncryptionAlgorithmInterface |
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.
Bc break...
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.
yes, that's why it go to develop, no ?
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.
Yes, but breaks have to be avoided where possible
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.
not sure... , @ezimuel any opinion ?
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.
It is trivial to change into getAdapter
and getAdapterInstance
, and I think it's an acceptable tradeoff for now.
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.
@Ocramius ok, I will change it.
@Ocramius done ;). I've changed getAdapter() and added getAdapterInstance(), and change PR title, please let me know if there is I missed ;) |
65a8897
to
97f065c
Compare
and add getAdapterName() to get name of adapter
97f065c
to
83ef554
Compare
@Ocramius merge-able now ? ;) |
add getAdapterInstance() that return adapter instance at Zend\Filter\Encrypt
…mp.todo.adapter add getAdapterInstance() that return adapter instance at Zend\Filter\Encrypt
and add
getAdapterName()
to get name of adapter same asZend\Filter\Compress
class to make it consistent.