| Total Complexity | 7 |
| Total Lines | 64 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Work extends TaskCommand |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * {@inheritDoc} |
||
| 12 | */ |
||
| 13 | protected $name = 'tasks:work'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritDoc} |
||
| 17 | */ |
||
| 18 | protected $options = [ |
||
| 19 | '--run-output-file' => 'Le fichier vers lequel diriger la sortie de `tasks:run`.', |
||
| 20 | ]; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritDoc} |
||
| 24 | */ |
||
| 25 | protected $description = 'Démarre le planificateur de tâche et l\'exécute localement.'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritDoc} |
||
| 29 | */ |
||
| 30 | protected $required = [ |
||
| 31 | 'symfony/process:^7.2', |
||
| 32 | ]; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritDoc} |
||
| 36 | */ |
||
| 37 | public function execute(array $params) |
||
| 77 |