*/ class MigrationStatusCommand extends AbstractCommand { /** * @see Command */ protected function configure() { $this ->setDescription('Lists the migrations yet to be executed') ->setHelp(<<propel:migration:status command checks the version of the database structure, and looks for migration files not yet executed (i.e. with a greater version timestamp). php app/console propel:migration:status EOT ) ->setName('propel:migration:status') ; } /** * @see Command * * @throws \InvalidArgumentException When the target directory does not exist */ protected function execute(InputInterface $input, OutputInterface $output) { $this->callPhing('status'); $this->writeSummary($output, 'propel-migration-status'); } }