var/cache/dev/Container5LcGo74/getContao_Image_PictureFactoryService.php line 23

Open in your IDE?
  1. <?php
  2. namespace Container5LcGo74;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getContao_Image_PictureFactoryService extends Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'contao.image.picture_factory' shared service.
  12.      *
  13.      * @return \Contao\CoreBundle\Image\PictureFactory
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/contao/core-bundle/src/Image/PictureFactoryInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/contao/core-bundle/src/Image/PictureFactory.php';
  19.         $a = ($container->services['contao.image.picture_generator'] ?? $container->load('getContao_Image_PictureGeneratorService'));
  20.         if (isset($container->services['contao.image.picture_factory'])) {
  21.             return $container->services['contao.image.picture_factory'];
  22.         }
  23.         $b = ($container->services['contao.image.factory'] ?? $container->load('getContao_Image_FactoryService'));
  24.         if (isset($container->services['contao.image.picture_factory'])) {
  25.             return $container->services['contao.image.picture_factory'];
  26.         }
  27.         $c = ($container->services['contao.framework'] ?? $container->getContao_FrameworkService());
  28.         if (isset($container->services['contao.image.picture_factory'])) {
  29.             return $container->services['contao.image.picture_factory'];
  30.         }
  31.         $container->services['contao.image.picture_factory'] = $instance = new \Contao\CoreBundle\Image\PictureFactory($a$b$cfalse$container->parameters['contao.image.imagine_options']);
  32.         $instance->setPredefinedSizes(['_example_exact' => ['formats' => ['jpeg' => [=> 'webp'=> 'jpeg'], 'jpg' => [=> 'webp'=> 'jpg'], 'png' => [=> 'webp'=> 'png'], 'gif' => [=> 'webp'=> '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' => [=> 'webp'=> 'jpeg'], 'jpg' => [=> 'webp'=> 'jpg'], 'png' => [=> 'webp'=> 'png'], 'gif' => [=> 'webp'=> 'gif']], 'densities' => '320w,420w,500w,600w,800w,1024w,1366w,1920w,2560w''lazyLoading' => true'resizeMode' => 'proportional''zoom' => 100'items' => [], 'width' => 1920], '_example_boxed' => ['formats' => ['jpeg' => [=> 'webp'=> 'jpeg'], 'jpg' => [=> 'webp'=> 'jpg'], 'png' => [=> 'webp'=> 'png'], 'gif' => [=> 'webp'=> 'gif']], 'densities' => '320w,420w,500w,600w,800w,1024w,1366w,1920w,2560w''lazyLoading' => true'resizeMode' => 'box''zoom' => 100'items' => [], 'width' => 600'height' => 600]]);
  33.         return $instance;
  34.     }
  35. }