Skip to content

Commit

Permalink
Added output to doctrine:generate:entity command and removed undesira…
Browse files Browse the repository at this point in the history
…ble (and misnamed) call to doctrine:generate:entities.
  • Loading branch information
jmikola authored and jwage committed May 27, 2010
1 parent a7e2068 commit 75cc89b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -120,8 +120,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
mkdir($dir, 0777, true);
}

$output->writeln(sprintf('Generating entity for "<info>%s</info>"', $bundle));
$output->writeln(sprintf(' > generating <comment>%s</comment>', $fullEntityClassName));
file_put_contents($path, $code);

$this->runCommand('doctrine:generate-entities');
}
}

0 comments on commit 75cc89b

Please sign in to comment.