Gregwar/ImageBundle — Issue #5: Make getter/setter methods for ImageHandler object
Author: Eradwen
Created: 2011-12-16 19:38:15+00:00
State: open

In the Gregwar\ImageBundle\Services\ImageHandling class, the createInstance method creates an instance of an ImageHandler object. I would like to be able to pass a custom ImageHandler.

I am able to override the ImageHandling class (thanks to your last commit), but to be able to pass my own ImageHandler, I have to copy/paste all the code of the original ImageHandling class because the $cache_dir and $container properties are private.