bundle/DependencyInjection/Compiler/ImagineIOResolverPass.php
public function process(ContainerBuilder $container): void
    {
        if ($container->has('ezpublish.image_alias.imagine.cache_resolver')) {
            $container
                ->findDefinition('ezpublish.image_alias.imagine.cache_resolver')
                ->setClass(IORepositoryResolver::class);
        }
    }
public function process(ContainerBuilder $container): void
    {
        if ($container->has('ezpublish.image_alias.imagine.cache_resolver')) {
            $container
                ->findDefinition('ezpublish.image_alias.imagine.cache_resolver')
                ->setClass(IORepositoryResolver::class);
        }
    }
public function process ( ContainerBuilder $ container ) : void { if ( $ container -> has ( 'ezpublish.image_alias.imagine.cache_resolver' ) ) { $ container -> findDefinition ( 'ezpublish.image_alias.imagine.cache_resolver' ) -> setClass ( IORepositoryResolver :: class ) ; } }
Overrides the IO resolver to disable generating absolute URIs to images.
Overrides the IO resolver to disable generating absolute URIs to images .