var/cache/dev/ContainerPyX3tLQ/getManagerService.php line 11

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  4. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  5. // Returns the public 'Pimcore\Workflow\Manager' shared autowired service.
  6. include_once \dirname(__DIR__4).'/vendor/pimcore/pimcore/lib/Workflow/Manager.php';
  7. $this->services['Pimcore\\Workflow\\Manager'] = $instance = new \Pimcore\Workflow\Manager(($this->privates['workflow.registry'] ?? $this->load('getWorkflow_RegistryService.php')), ($this->privates['Pimcore\\Workflow\\EventSubscriber\\NotesSubscriber'] ?? $this->load('getNotesSubscriberService.php')), ($this->services['Pimcore\\Workflow\\ExpressionService'] ?? $this->load('getExpressionServiceService.php')), ($this->services['event_dispatcher'] ?? $this->getEventDispatcherService()));
  8. $instance->registerWorkflow('citroen_vehicle_workflow', ['label' => 'Vehicle Workflow''priority' => 0'type' => 'state_machine']);
  9. $instance->addPlaceConfig('citroen_vehicle_workflow''newrequest', ['label' => 'New Vehicle''title' => 'Content Creation has to be started''color' => '#bfdadc''colorInverted' => false'visibleInHeader' => true'permissions' => []]);
  10. $instance->addPlaceConfig('citroen_vehicle_workflow''inEnrichment', ['label' => 'In Enrichment''title' => 'Product Enrichment Started''color' => '#ff9933''colorInverted' => false'visibleInHeader' => true'permissions' => []]);
  11. $instance->addPlaceConfig('citroen_vehicle_workflow''inReview', ['label' => 'In Review''title' => 'Send To Managers''color' => '#ff9933''colorInverted' => false'visibleInHeader' => true'permissions' => []]);
  12. $instance->addPlaceConfig('citroen_vehicle_workflow''inApprove', ['label' => 'In Approval''color' => '#009900''title' => '''colorInverted' => false'visibleInHeader' => true'permissions' => []]);
  13. $instance->addPlaceConfig('citroen_vehicle_workflow''approved', ['label' => 'Approved''color' => '#009900''title' => '''colorInverted' => false'visibleInHeader' => true'permissions' => []]);
  14. $instance->addPlaceConfig('citroen_vehicle_workflow''done', ['label' => 'Approved''color' => '#009900''title' => '''colorInverted' => false'visibleInHeader' => true'permissions' => []]);
  15. $instance->addPlaceConfig('citroen_vehicle_workflow''reopened', ['label' => 'Reopened''color' => '#ff9933''title' => '''colorInverted' => false'visibleInHeader' => true'permissions' => []]);
  16. $instance->addPlaceConfig('citroen_vehicle_workflow''inReject', ['label' => 'Request Rejected by Managers''title' => 'Request  Rejected by Managers''color' => '#ff9933''colorInverted' => false'visibleInHeader' => true'permissions' => []]);
  17. return $instance;