var/cache/dev/Container8EtJTju/getManagerService.php line 18

Open in your IDE?
  1. <?php
  2. namespace Container8EtJTju;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getManagerService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'Pimcore\Workflow\Manager' shared autowired service.
  12.      *
  13.      * @return \Pimcore\Workflow\Manager
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/pimcore/pimcore/lib/Workflow/Manager.php';
  18.         $a = ($container->privates['workflow.registry'] ?? $container->load('getWorkflow_RegistryService'));
  19.         if (isset($container->services['Pimcore\\Workflow\\Manager'])) {
  20.             return $container->services['Pimcore\\Workflow\\Manager'];
  21.         }
  22.         $b = ($container->services['Pimcore\\Workflow\\ExpressionService'] ?? $container->load('getExpressionServiceService'));
  23.         if (isset($container->services['Pimcore\\Workflow\\Manager'])) {
  24.             return $container->services['Pimcore\\Workflow\\Manager'];
  25.         }
  26.         $c = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  27.         if (isset($container->services['Pimcore\\Workflow\\Manager'])) {
  28.             return $container->services['Pimcore\\Workflow\\Manager'];
  29.         }
  30.         $container->services['Pimcore\\Workflow\\Manager'] = $instance = new \Pimcore\Workflow\Manager($a, ($container->privates['Pimcore\\Workflow\\EventSubscriber\\NotesSubscriber'] ?? $container->load('getNotesSubscriberService')), $b$c);
  31.         $instance->registerWorkflow('good_data_enrichment', ['label' => 'Наполнение информации о товаре''priority' => 0'type' => 'workflow']);
  32.         $instance->addPlaceConfig('good_data_enrichment''fill_media', ['label' => 'Медиа''title' => 'Заполнение медиа-свойств''color' => '#3572b0''colorInverted' => false'permissions' => [=> ['condition' => 'is_fully_authenticated() and \'ROLE_PIMCORE_ADMIN\' in role_names''objectLayout' => 'ADMIN''publish' => true'unpublish' => true], => ['condition' => 'is_fully_authenticated() and \'ROLE_MARKETER\' in role_names''objectLayout' => 'MARKETER''publish' => false'unpublish' => false], => ['objectLayout' => 'ALLDISABLED''save' => false'publish' => false'unpublish' => false]], 'visibleInHeader' => true]);
  33.         $instance->addPlaceConfig('good_data_enrichment''fill_content', ['label' => 'Контент''title' => 'Заполнение контент-свойств''color' => '#3572b0''colorInverted' => false'permissions' => [=> ['condition' => 'is_fully_authenticated() and \'ROLE_PIMCORE_ADMIN\' in role_names''objectLayout' => 'ADMIN''publish' => true'unpublish' => true], => ['condition' => 'is_fully_authenticated() and \'ROLE_CONTENT_MANAGER\' in role_names''objectLayout' => 'CONTENTMANAGER''publish' => false'unpublish' => false], => ['objectLayout' => 'ALLDISABLED''save' => false'publish' => false'unpublish' => false]], 'visibleInHeader' => true]);
  34.         $instance->addPlaceConfig('good_data_enrichment''moderation', ['label' => 'Модерация''title' => 'Модерация товара''color' => '#28a050''colorInverted' => true'permissions' => [=> ['condition' => 'is_fully_authenticated() and \'ROLE_PIMCORE_ADMIN\' in role_names''objectLayout' => 'ADMIN''publish' => false'unpublish' => false], => ['condition' => 'is_fully_authenticated() and \'ROLE_MODERATOR\' in role_names''objectLayout' => 'MODERATOR''publish' => false'unpublish' => false], => ['objectLayout' => 'ALLDISABLED''save' => false'publish' => false'unpublish' => false]], 'visibleInHeader' => true]);
  35.         $instance->addPlaceConfig('good_data_enrichment''published', ['label' => 'Опубликован''title' => 'Опубликован''color' => '#28a050''colorInverted' => false'permissions' => [=> ['condition' => 'is_fully_authenticated() and \'ROLE_PIMCORE_ADMIN\' in role_names''objectLayout' => 'ADMIN''publish' => false'unpublish' => false], => ['condition' => 'is_fully_authenticated() and \'ROLE_MODERATOR\' in role_names''objectLayout' => 'MODERATOR''publish' => false'unpublish' => false], => ['objectLayout' => 'ALLDISABLED''save' => false'publish' => false'unpublish' => false]], 'visibleInHeader' => true]);
  36.         $instance->addPlaceConfig('good_data_enrichment''unpublished', ['label' => 'Снят с публикации''title' => 'Снят с публикации''color' => '#b51818''colorInverted' => true'permissions' => [=> ['condition' => 'is_fully_authenticated() and \'ROLE_PIMCORE_ADMIN\' in role_names''objectLayout' => 'ADMIN''publish' => false'unpublish' => false], => ['condition' => 'is_fully_authenticated() and \'ROLE_MODERATOR\' in role_names''objectLayout' => 'MODERATOR''publish' => false'unpublish' => false], => ['objectLayout' => 'ALLDISABLED''save' => false'publish' => false'unpublish' => false]], 'visibleInHeader' => true]);
  37.         return $instance;
  38.     }
  39. }