var/cache/dev/ContainerRXdXI6z/getManagerService.php line 22

Open in your IDE?
  1. <?php
  2. namespace ContainerRXdXI6z;
  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.         $container->services['Pimcore\\Workflow\\Manager'] = $instance = new \Pimcore\Workflow\Manager(($container->privates['workflow.registry'] ?? $container->load('getWorkflow_RegistryService')), ($container->privates['Pimcore\\Workflow\\EventSubscriber\\NotesSubscriber'] ?? $container->load('getNotesSubscriberService')), ($container->services['Pimcore\\Workflow\\ExpressionService'] ?? $container->load('getExpressionServiceService')), ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService()));
  19.         $instance->registerWorkflow('simple_asset_workflow', ['label' => 'Simple Asset Workflow''priority' => 0'type' => 'state_machine']);
  20.         $instance->addPlaceConfig('simple_asset_workflow''start', ['label' => 'Start Place of the Workflow''title' => 'Start checking this asset''color' => '#3572b0''visibleInHeader' => true'colorInverted' => false'permissions' => []]);
  21.         $instance->addPlaceConfig('simple_asset_workflow''review_license', ['label' => 'Review License''color' => 'orange''visibleInHeader' => true'title' => '''colorInverted' => false'permissions' => []]);
  22.         $instance->addPlaceConfig('simple_asset_workflow''finished', ['label' => 'Asset Reviewed''color' => 'green''visibleInHeader' => true'title' => '''colorInverted' => false'permissions' => []]);
  23.         $instance->registerWorkflow('product_data_enrichment', ['label' => 'Product Data Enrichment Workflow''priority' => 0'type' => 'workflow']);
  24.         $instance->addPlaceConfig('product_data_enrichment''todo', ['label' => 'ToDo''title' => 'Product Magic did not start''color' => '#3572b0''colorInverted' => true'permissions' => [=> ['objectLayout' => 'CarTodo''publish' => false'unpublish' => false]], 'visibleInHeader' => true]);
  25.         $instance->addPlaceConfig('product_data_enrichment''edit_text', ['label' => 'Edit Text''color' => 'orange''permissions' => [=> ['publish' => false'unpublish' => false]], 'title' => '''colorInverted' => false'visibleInHeader' => true]);
  26.         $instance->addPlaceConfig('product_data_enrichment''edit_images', ['label' => 'Edit Images''color' => 'orange''permissions' => [=> ['publish' => false'unpublish' => false]], 'title' => '''colorInverted' => false'visibleInHeader' => true]);
  27.         $instance->addPlaceConfig('product_data_enrichment''done_text', ['label' => 'Done Text''color' => 'green''permissions' => [=> ['publish' => false'unpublish' => false]], 'title' => '''colorInverted' => false'visibleInHeader' => true]);
  28.         $instance->addPlaceConfig('product_data_enrichment''done_images', ['label' => 'Done Images''color' => 'green''permissions' => [=> ['publish' => false'unpublish' => false]], 'title' => '''colorInverted' => false'visibleInHeader' => true]);
  29.         $instance->addPlaceConfig('product_data_enrichment''done_all', ['label' => 'Product is ready''color' => '#009900''permissions' => [=> ['condition' => 'is_fully_authenticated() and \'ROLE_PIMCORE_ADMIN\' in role_names''objectLayout' => 'CarReview'], => ['objectLayout' => 'CarReview']], 'title' => '''colorInverted' => false'visibleInHeader' => true]);
  30.         $instance->addGlobalAction('product_data_enrichment''log_time', ['label' => 'Log Time''guard' => 'is_fully_authenticated()''notes' => ['commentEnabled' => true'commentRequired' => true'type' => 'Worklog''title' => 'Time Logged''additionalFields' => [=> ['name' => 'timeWorked''fieldType' => 'input''title' => 'Time spent''required' => true'fieldTypeSettings' => []]]], 'objectLayout' => false'to' => []], NULL);
  31.         return $instance;
  32.     }
  33. }