improve autowiring and add workflow to tasks

This commit is contained in:
2018-04-25 12:03:16 +02:00
parent 196fc2c38f
commit adc830142b
10 changed files with 4669 additions and 117 deletions

View File

@@ -1,4 +1,4 @@
services:
#chill_task.single_task_controller:
# class: Chill\TaskBundle\Controller\SingleTaskController
# autowire: true
Chill\TaskBundle\Controller\:
resource: ../../../Controller
tags: ['controller.service_arguments']

View File

@@ -8,3 +8,4 @@ services:
- method: setAuthorizationHelper
arguments:
- "@chill.main.security.authorization.helper"
Chill\TaskBundle\Repository\SingleTaskRepository: '@chill_task.single_task_repository'

View File

@@ -0,0 +1,2 @@
services:
Chill\TaskBundle\Workflow\TaskWorkflowManager: ~