public function addResolver($filter, ResolverInterface $resolver)
    {
        $this->resolvers[$filter] = $resolver;

        if ($resolver instanceof CacheManagerAwareInterface) {
            $resolver->setCacheManager($this);
        }
    }
public function addResolver($filter, ResolverInterface $resolver)
    {
        $this->resolvers[$filter] = $resolver;

        if ($resolver instanceof CacheManagerAwareInterface) {
            $resolver->setCacheManager($this);
        }
    }
public function addResolver ( $ filter , ResolverInterface $ resolver ) { $ this -> resolvers [ $ filter ] = $ resolver ; if ( $ resolver instanceof CacheManagerAwareInterface ) { $ resolver -> setCacheManager ( $ this ) ; } }
Adds a resolver to handle cached images for the given filter.

@param string            $filter
@param ResolverInterface $resolver
Adds a resolver to handle cached images for the given filter .