mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
Feature: bootstrap dependency injection for CronJobManager
This commit is contained in:
@@ -106,3 +106,15 @@ services:
|
||||
resource: '../Service/'
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
|
||||
Chill\MainBundle\Cron\:
|
||||
resource: '../Cron'
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
|
||||
Chill\MainBundle\Cron\CronManager:
|
||||
autoconfigure: true
|
||||
autowire: true
|
||||
lazy: true
|
||||
arguments:
|
||||
$jobs: !tagged_iterator chill_main.cron_job
|
||||
|
@@ -61,3 +61,9 @@ services:
|
||||
autowire: true
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
Chill\MainBundle\Command\ExecuteCronJobCommand:
|
||||
autoconfigure: true
|
||||
autowire: true
|
||||
tags:
|
||||
- {name: console.command }
|
||||
|
Reference in New Issue
Block a user