Skip to content
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

Remove filter loader #19

Open
ojhaujjwal opened this issue Sep 5, 2014 · 1 comment
Open

Remove filter loader #19

ojhaujjwal opened this issue Sep 5, 2014 · 1 comment
Assignees

Comments

@ojhaujjwal
Copy link
Member

Remove filter loader
Make use of Zend\ServiceManager\MutableCreationOptionsInterface.
For example:

namespace HtImgModule\Imagine\Filter\Factory;

use Zend\ServiceManager\ServiceLocatorInterface;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\MutableCreationOptionsInterface;

class BackgroundFactory implements FactoryInterface, MutableCreationOptionsInterface
{
     public function setCreationOptions(array $options)
     {

     }

     public function createService(ServiceLocatorInterface $filters)
     {

     }
}

This produces BC break.

@ojhaujjwal ojhaujjwal self-assigned this Sep 5, 2014
@ojhaujjwal
Copy link
Member Author

MutableCreationOptionsInterface has been removed. Options can be passed directly through Factory now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant