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)
{
}
}
Remove filter loader Make use of
Zend\ServiceManager\MutableCreationOptionsInterface
. For example:This produces BC break.