<?php

namespace ContainerRYWeSXx;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class get_Messenger_HandlerDescriptor_6wyR6OyService extends App_KernelProdContainer
{
    /*
     * Gets the private '.messenger.handler_descriptor.6wyR6Oy' shared service.
     *
     * @return \Symfony\Component\Messenger\Handler\HandlerDescriptor
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));

        if (isset($container->privates['.messenger.handler_descriptor.6wyR6Oy'])) {
            return $container->privates['.messenger.handler_descriptor.6wyR6Oy'];
        }

        $instance = new \Symfony\Component\Messenger\Handler\HandlerDescriptor((new \App\External\Everest\Handler\EverestErrorHandler($a))->__invoke(...), ['from_transport' => 'everestError']);

        if (isset($container->privates['.messenger.handler_descriptor.6wyR6Oy'])) {
            return $container->privates['.messenger.handler_descriptor.6wyR6Oy'];
        }

        return $container->privates['.messenger.handler_descriptor.6wyR6Oy'] = $instance;
    }
}
