Example #1
0
 public function execute()
 {
     Doctrine::generateMigrationClass($this->getArgument('class_name'), $this->getArgument('migrations_path'));
     $this->dispatcher->notify(sprintf('Generated migration class: %s successfully to %s', $this->getArgument('class_name'), $this->getArgument('migrations_path')));
 }