Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

add getAdapterInstance() that return adapter instance at Zend\Filter\Encrypt #6758

Merged
merged 6 commits into from
Feb 24, 2015

Conversation

samsonasik
Copy link
Contributor

and add getAdapterName() to get name of adapter same as Zend\Filter\Compress class to make it consistent.

@samsonasik samsonasik changed the title implements @todo for getAdapter() return adapter instance implements @todo for getAdapter() return adapter instance at Zend\Filter\Encrypt Oct 13, 2014
@samsonasik
Copy link
Contributor Author

ping @ezimuel @Ocramius is it merge-able ?

* @return string
* @throws Exception\RuntimeException
* @throws Exception\InvalidArgumentException
* @return Encrypt\EncryptionAlgorithmInterface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bc break...

Copy link
Contributor Author

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 ?

Copy link
Member

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

Copy link
Contributor Author

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 ?

Copy link
Member

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.

Copy link
Contributor Author

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.

@samsonasik samsonasik changed the title implements @todo for getAdapter() return adapter instance at Zend\Filter\Encrypt add getAdapterInstance() that return adapter instance at Zend\Filter\Encrypt Dec 22, 2014
@samsonasik
Copy link
Contributor Author

@Ocramius done ;). I've changed getAdapter() and added getAdapterInstance(), and change PR title, please let me know if there is I missed ;)

@Ocramius Ocramius added this to the 2.4.0 milestone Dec 23, 2014
@Ocramius Ocramius self-assigned this Dec 23, 2014
@samsonasik
Copy link
Contributor Author

@Ocramius merge-able now ? ;)

@weierophinney weierophinney merged commit 83ef554 into zendframework:develop Feb 24, 2015
weierophinney added a commit that referenced this pull request Feb 24, 2015
add getAdapterInstance() that return adapter instance at Zend\Filter\Encrypt
weierophinney added a commit that referenced this pull request Feb 24, 2015
@samsonasik samsonasik deleted the imp.todo.adapter branch February 24, 2015 18:25
weierophinney added a commit to zendframework/zend-filter that referenced this pull request May 15, 2015
…mp.todo.adapter

add getAdapterInstance() that return adapter instance at Zend\Filter\Encrypt
weierophinney added a commit to zendframework/zend-filter that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants