<?php

namespace ContainerBnDMNJc;

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 getSuluActivity_StoreActivitySubscriberService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_activity.store_activity_subscriber' shared service.
     *
     * @return \Sulu\Bundle\ActivityBundle\Application\Subscriber\StoreActivitySubscriber
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['doctrine.orm.default_entity_manager'] ?? self::getDoctrine_Orm_DefaultEntityManagerService($container));

        if (isset($container->privates['sulu_activity.store_activity_subscriber'])) {
            return $container->privates['sulu_activity.store_activity_subscriber'];
        }

        return $container->privates['sulu_activity.store_activity_subscriber'] = new \Sulu\Bundle\ActivityBundle\Application\Subscriber\StoreActivitySubscriber(new \Sulu\Bundle\ActivityBundle\Infrastructure\Doctrine\Repository\ActivityRepository($a, false));
    }
}
