/var/www/flurhymez/vendor/symfony/http-kernel/DependencyInjection
NameSizeModeActions
AddAnnotatedClassesToCachePass.php43350644editdlrm
ConfigurableExtension.php12840644editdlrm
ControllerArgumentValueResolverPass.php26660644editdlrm
Extension.php10790644editdlrm
FragmentRendererPass.php25190644editdlrm
LazyLoadingFragmentHandler.php13770644editdlrm
LoggerPass.php10250644editdlrm
MergeExtensionConfigurationPass.php11730644editdlrm
RegisterControllerArgumentLocatorsPass.php111160644editdlrm
RegisterLocaleAwareServicesPass.php18570644editdlrm
RemoveEmptyControllerArgumentLocatorsPass.php29510644editdlrm
ResettableServicePass.php24530644editdlrm
ServicesResetter.php13550644editdlrm
Edit: /var/www/flurhymez/vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php (1377B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\DependencyInjection; use Psr\Container\ContainerInterface; use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpKernel\Fragment\FragmentHandler; /** * Lazily loads fragment renderers from the dependency injection container. * * @author Fabien Potencier */ class LazyLoadingFragmentHandler extends FragmentHandler { private $container; /** * @var array */ private $initialized = []; public function __construct(ContainerInterface $container, RequestStack $requestStack, bool $debug = false) { $this->container = $container; parent::__construct($requestStack, [], $debug); } /** * {@inheritdoc} */ public function render($uri, string $renderer = 'inline', array $options = []) { if (!isset($this->initialized[$renderer]) && $this->container->has($renderer)) { $this->addRenderer($this->container->get($renderer)); $this->initialized[$renderer] = true; } return parent::render($uri, $renderer, $options); } }