DtcQueueBundle icon indicating copy to clipboard operation
DtcQueueBundle copied to clipboard

Command calls undefined `getContainer` function

Open carlos-granados opened this issue 5 years ago • 4 comments

The setLoggerService function in the run command calls the getContainer() function which no longer exists because the command no longer extends the ContainerAwareCommand class

carlos-granados avatar Nov 17 '20 13:11 carlos-granados

@carlos-granados can you try with the latest version?

mmucklo avatar Nov 20 '20 08:11 mmucklo

@mmucklo yes, all good now :-)

carlos-granados avatar Nov 20 '20 08:11 carlos-granados

@mmucklo Actually, it would be useful if the runLoop, logger and container properties were protected instead of private. This would allow us to easily extend this command.

carlos-granados avatar Nov 20 '20 08:11 carlos-granados

Either that or add some getters

carlos-granados avatar Nov 20 '20 08:11 carlos-granados