Deprecated: Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct(): Implicitly marking parameter $registry as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php on line 46

Deprecated: Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct(): Implicitly marking parameter $expressionLanguage as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php on line 46

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::__construct(): Implicitly marking parameter $twig as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/TemplateListener.php on line 39

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $language as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $trustResolver as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $roleHierarchy as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $tokenStorage as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $authChecker as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::__construct(): Implicitly marking parameter $authChecker as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/IsGrantedListener.php on line 33

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::isAccessAuthorized(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 101

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getSupportGroups(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 162

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getSupportTeams(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 180

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getAgentPartialDataCollection(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 280

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getAgentsPartialDetails(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 309

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getCustomersPartial(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 428

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\TicketService::isTicketAccessGranted(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/TicketService.php on line 1913

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\FileSystem\FileSystem::getAssetIconURL(): Implicitly marking parameter $attachment as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/FileSystem/FileSystem.php on line 34

Deprecated: Symfony\Bundle\SwiftmailerBundle\DataCollector\MessageDataCollector::collect(): Implicitly marking parameter $exception as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/symfony/swiftmailer-bundle/DataCollector/MessageDataCollector.php on line 42
Symfony Profiler

vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php line 49

Open in your IDE?
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\HttpKernel\DependencyInjection;
  11. use Psr\Container\ContainerInterface;
  12. use Symfony\Component\HttpFoundation\RequestStack;
  13. use Symfony\Component\HttpKernel\Fragment\FragmentHandler;
  14. /**
  15. * Lazily loads fragment renderers from the dependency injection container.
  16. *
  17. * @author Fabien Potencier <fabien@symfony.com>
  18. */
  19. class LazyLoadingFragmentHandler extends FragmentHandler
  20. {
  21. private $container;
  22. /**
  23. * @var array<string, bool>
  24. */
  25. private $initialized = [];
  26. public function __construct(ContainerInterface $container, RequestStack $requestStack, bool $debug = false)
  27. {
  28. $this->container = $container;
  29. parent::__construct($requestStack, [], $debug);
  30. }
  31. /**
  32. * {@inheritdoc}
  33. */
  34. public function render($uri, string $renderer = 'inline', array $options = [])
  35. {
  36. if (!isset($this->initialized[$renderer]) && $this->container->has($renderer)) {
  37. $this->addRenderer($this->container->get($renderer));
  38. $this->initialized[$renderer] = true;
  39. }
  40. return parent::render($uri, $renderer, $options);
  41. }
  42. }