<?php
namespace Container5LcGo74;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getContao_Image_PictureFactoryService extends Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer
{
/**
* Gets the public 'contao.image.picture_factory' shared service.
*
* @return \Contao\CoreBundle\Image\PictureFactory
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/contao/core-bundle/src/Image/PictureFactoryInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/contao/core-bundle/src/Image/PictureFactory.php';
$a = ($container->services['contao.image.picture_generator'] ?? $container->load('getContao_Image_PictureGeneratorService'));
if (isset($container->services['contao.image.picture_factory'])) {
return $container->services['contao.image.picture_factory'];
}
$b = ($container->services['contao.image.factory'] ?? $container->load('getContao_Image_FactoryService'));
if (isset($container->services['contao.image.picture_factory'])) {
return $container->services['contao.image.picture_factory'];
}
$c = ($container->services['contao.framework'] ?? $container->getContao_FrameworkService());
if (isset($container->services['contao.image.picture_factory'])) {
return $container->services['contao.image.picture_factory'];
}
$container->services['contao.image.picture_factory'] = $instance = new \Contao\CoreBundle\Image\PictureFactory($a, $b, $c, false, $container->parameters['contao.image.imagine_options']);
$instance->setPredefinedSizes(['_example_exact' => ['formats' => ['jpeg' => [0 => 'webp', 1 => 'jpeg'], 'jpg' => [0 => 'webp', 1 => 'jpg'], 'png' => [0 => 'webp', 1 => 'png'], 'gif' => [0 => 'webp', 1 => 'gif']], 'densities' => '320w,420w,500w,600w,800w,1024w,1366w,1920w,2560w', 'lazyLoading' => true, 'resizeMode' => 'crop', 'zoom' => 100, 'items' => [], 'width' => 1920, 'height' => 1080], '_example_proportional' => ['formats' => ['jpeg' => [0 => 'webp', 1 => 'jpeg'], 'jpg' => [0 => 'webp', 1 => 'jpg'], 'png' => [0 => 'webp', 1 => 'png'], 'gif' => [0 => 'webp', 1 => 'gif']], 'densities' => '320w,420w,500w,600w,800w,1024w,1366w,1920w,2560w', 'lazyLoading' => true, 'resizeMode' => 'proportional', 'zoom' => 100, 'items' => [], 'width' => 1920], '_example_boxed' => ['formats' => ['jpeg' => [0 => 'webp', 1 => 'jpeg'], 'jpg' => [0 => 'webp', 1 => 'jpg'], 'png' => [0 => 'webp', 1 => 'png'], 'gif' => [0 => 'webp', 1 => 'gif']], 'densities' => '320w,420w,500w,600w,800w,1024w,1366w,1920w,2560w', 'lazyLoading' => true, 'resizeMode' => 'box', 'zoom' => 100, 'items' => [], 'width' => 600, 'height' => 600]]);
return $instance;
}
}