Skip to content

Remove filter loader #19

@ojhaujjwal

Description

@ojhaujjwal

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions