I tested the migrations functionality with and without registering the migrations commands inside the factories. It works even without registering them, when I try to call php vendor/bin/doctrine-migrations xxxxx, where xxxxx is the command. So, why do we need to register the commands as services?
I tested the migrations functionality with and without registering the migrations commands inside the factories. It works even without registering them, when I try to call
php vendor/bin/doctrine-migrations xxxxx, wherexxxxxis the command. So, why do we need to register the commands as services?