<?php
namespace Container8EtJTju;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getManagerService extends App_KernelDevDebugContainer
{
/**
* Gets the public 'Pimcore\Workflow\Manager' shared autowired service.
*
* @return \Pimcore\Workflow\Manager
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/pimcore/pimcore/lib/Workflow/Manager.php';
$a = ($container->privates['workflow.registry'] ?? $container->load('getWorkflow_RegistryService'));
if (isset($container->services['Pimcore\\Workflow\\Manager'])) {
return $container->services['Pimcore\\Workflow\\Manager'];
}
$b = ($container->services['Pimcore\\Workflow\\ExpressionService'] ?? $container->load('getExpressionServiceService'));
if (isset($container->services['Pimcore\\Workflow\\Manager'])) {
return $container->services['Pimcore\\Workflow\\Manager'];
}
$c = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
if (isset($container->services['Pimcore\\Workflow\\Manager'])) {
return $container->services['Pimcore\\Workflow\\Manager'];
}
$container->services['Pimcore\\Workflow\\Manager'] = $instance = new \Pimcore\Workflow\Manager($a, ($container->privates['Pimcore\\Workflow\\EventSubscriber\\NotesSubscriber'] ?? $container->load('getNotesSubscriberService')), $b, $c);
$instance->registerWorkflow('good_data_enrichment', ['label' => 'Наполнение информации о товаре', 'priority' => 0, 'type' => 'workflow']);
$instance->addPlaceConfig('good_data_enrichment', 'fill_media', ['label' => 'Медиа', 'title' => 'Заполнение медиа-свойств', 'color' => '#3572b0', 'colorInverted' => false, 'permissions' => [0 => ['condition' => 'is_fully_authenticated() and \'ROLE_PIMCORE_ADMIN\' in role_names', 'objectLayout' => 'ADMIN', 'publish' => true, 'unpublish' => true], 1 => ['condition' => 'is_fully_authenticated() and \'ROLE_MARKETER\' in role_names', 'objectLayout' => 'MARKETER', 'publish' => false, 'unpublish' => false], 2 => ['objectLayout' => 'ALLDISABLED', 'save' => false, 'publish' => false, 'unpublish' => false]], 'visibleInHeader' => true]);
$instance->addPlaceConfig('good_data_enrichment', 'fill_content', ['label' => 'Контент', 'title' => 'Заполнение контент-свойств', 'color' => '#3572b0', 'colorInverted' => false, 'permissions' => [0 => ['condition' => 'is_fully_authenticated() and \'ROLE_PIMCORE_ADMIN\' in role_names', 'objectLayout' => 'ADMIN', 'publish' => true, 'unpublish' => true], 1 => ['condition' => 'is_fully_authenticated() and \'ROLE_CONTENT_MANAGER\' in role_names', 'objectLayout' => 'CONTENTMANAGER', 'publish' => false, 'unpublish' => false], 2 => ['objectLayout' => 'ALLDISABLED', 'save' => false, 'publish' => false, 'unpublish' => false]], 'visibleInHeader' => true]);
$instance->addPlaceConfig('good_data_enrichment', 'moderation', ['label' => 'Модерация', 'title' => 'Модерация товара', 'color' => '#28a050', 'colorInverted' => true, 'permissions' => [0 => ['condition' => 'is_fully_authenticated() and \'ROLE_PIMCORE_ADMIN\' in role_names', 'objectLayout' => 'ADMIN', 'publish' => false, 'unpublish' => false], 1 => ['condition' => 'is_fully_authenticated() and \'ROLE_MODERATOR\' in role_names', 'objectLayout' => 'MODERATOR', 'publish' => false, 'unpublish' => false], 2 => ['objectLayout' => 'ALLDISABLED', 'save' => false, 'publish' => false, 'unpublish' => false]], 'visibleInHeader' => true]);
$instance->addPlaceConfig('good_data_enrichment', 'published', ['label' => 'Опубликован', 'title' => 'Опубликован', 'color' => '#28a050', 'colorInverted' => false, 'permissions' => [0 => ['condition' => 'is_fully_authenticated() and \'ROLE_PIMCORE_ADMIN\' in role_names', 'objectLayout' => 'ADMIN', 'publish' => false, 'unpublish' => false], 1 => ['condition' => 'is_fully_authenticated() and \'ROLE_MODERATOR\' in role_names', 'objectLayout' => 'MODERATOR', 'publish' => false, 'unpublish' => false], 2 => ['objectLayout' => 'ALLDISABLED', 'save' => false, 'publish' => false, 'unpublish' => false]], 'visibleInHeader' => true]);
$instance->addPlaceConfig('good_data_enrichment', 'unpublished', ['label' => 'Снят с публикации', 'title' => 'Снят с публикации', 'color' => '#b51818', 'colorInverted' => true, 'permissions' => [0 => ['condition' => 'is_fully_authenticated() and \'ROLE_PIMCORE_ADMIN\' in role_names', 'objectLayout' => 'ADMIN', 'publish' => false, 'unpublish' => false], 1 => ['condition' => 'is_fully_authenticated() and \'ROLE_MODERATOR\' in role_names', 'objectLayout' => 'MODERATOR', 'publish' => false, 'unpublish' => false], 2 => ['objectLayout' => 'ALLDISABLED', 'save' => false, 'publish' => false, 'unpublish' => false]], 'visibleInHeader' => true]);
return $instance;
}
}