<?phpnamespaceyiiunit\framework\console\controllers;useyii\console\controllers\MigrateController;/** * MigrateController that writes output via echo instead of using output stream. Allows us to buffer it. */classEchoMigrateControllerextendsMigrateController{/** * @inheritdoc */publicfunctionstdout($string){echo$string;}}