32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
|
<?php
|
||
|
|
||
|
namespace ContainerCWF53NS;
|
||
|
|
||
|
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 getTwig_Runtime_SerializerService extends App_KernelDevDebugContainer
|
||
|
{
|
||
|
/**
|
||
|
* Gets the private 'twig.runtime.serializer' shared service.
|
||
|
*
|
||
|
* @return \Symfony\Bridge\Twig\Extension\SerializerRuntime
|
||
|
*/
|
||
|
public static function do($container, $lazyLoad = true)
|
||
|
{
|
||
|
include_once \dirname(__DIR__, 4).'/vendor/twig/twig/src/Extension/RuntimeExtensionInterface.php';
|
||
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/twig-bridge/Extension/SerializerRuntime.php';
|
||
|
|
||
|
$a = ($container->privates['serializer'] ?? $container->load('getSerializerService'));
|
||
|
|
||
|
if (isset($container->privates['twig.runtime.serializer'])) {
|
||
|
return $container->privates['twig.runtime.serializer'];
|
||
|
}
|
||
|
|
||
|
return $container->privates['twig.runtime.serializer'] = new \Symfony\Bridge\Twig\Extension\SerializerRuntime($a);
|
||
|
}
|
||
|
}
|