|
4 | 4 | xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> |
5 | 5 | <services> |
6 | 6 | <service id="task.command.run" class="Task\TaskBundle\Command\RunCommand" public="true"> |
7 | | - <argument type="string">task:run</argument> |
| 7 | + <argument>null</argument> |
8 | 8 | <argument type="service" id="task.runner"/> |
9 | 9 | <argument type="service" id="task.scheduler"/> |
10 | 10 | <!-- add entity_manager if doctrine storage is enabled --> |
|
13 | 13 | </service> |
14 | 14 |
|
15 | 15 | <service id="task.command.run_handler" class="Task\TaskBundle\Command\RunHandlerCommand" public="true"> |
16 | | - <argument type="string">task:run:handler</argument> |
| 16 | + <argument>null</argument> |
17 | 17 | <argument type="service" id="task.handler.factory"/> |
18 | 18 |
|
19 | 19 | <tag name="console.command" command="task:run:handler"/> |
20 | 20 | </service> |
21 | 21 |
|
22 | 22 | <service id="task.command.executor" class="Task\TaskBundle\Command\ExecuteCommand" public="true"> |
23 | | - <argument type="string">task:execute</argument> |
| 23 | + <argument>null</argument> |
24 | 24 | <argument type="service" id="task.handler.factory"/> |
25 | 25 | <argument type="service" id="task.storage.task_execution"/> |
26 | 26 | <argument type="service" id="event_dispatcher"/> |
|
29 | 29 | </service> |
30 | 30 |
|
31 | 31 | <service id="task.command.schedule_task" class="Task\TaskBundle\Command\ScheduleTaskCommand" public="true"> |
32 | | - <argument type="string">task:schedule</argument> |
| 32 | + <argument>null</argument> |
33 | 33 | <argument type="service" id="task.scheduler"/> |
34 | 34 | <!-- add entity_manager if doctrine storage is enabled --> |
35 | 35 |
|
36 | 36 | <tag name="console.command" command="task:schedule"/> |
37 | 37 | </service> |
38 | 38 |
|
39 | 39 | <service id="task.command.debug_tasks" class="Task\TaskBundle\Command\DebugTasksCommand" public="true"> |
40 | | - <argument type="string">debug:tasks</argument> |
| 40 | + <argument>null</argument> |
41 | 41 | <argument type="service" id="task.storage.task_execution"/> |
42 | 42 |
|
43 | 43 | <tag name="console.command" command="debug:tasks"/> |
|
0 commit comments