Skip to content

Commit

Permalink
Update UPGRADE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-cain13 authored Jun 21, 2024
1 parent 41ca1df commit 36f1892
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ Since `ContainerAwareInterface` has been deprecated in Symfony 6.4, programmers

Therefore, it makes no sense to keep `EndlessContainerAwareCommand`. If you need to call `EntityManager::clear()` on your doctrine instance inside `EndlessCommand::finishIteration()`, you have to handle this in your code now.

If you need to access any service, inject it in the constructor of your derived class.
If you need to access any service, inject it in the constructor of your derived class.

### Other behaviour changes

- Shutting down during startup will NOT run any iteration of the loop, previous versions did always at least run one iteration.
- Support for using `setCode` to provide an implementation is removed.

0 comments on commit 36f1892

Please sign in to comment.