Commit 89c71138 authored by Jonathan H. Wage's avatar Jonathan H. Wage

Fixing changed method names

parent be4d158b
...@@ -134,16 +134,16 @@ EOT ...@@ -134,16 +134,16 @@ EOT
} }
$converter = new ConvertDoctrine1Schema($fromPaths); $converter = new ConvertDoctrine1Schema($fromPaths);
$metadatas = $converter->getMetadatas(); $metadata = $converter->getMetadata();
if ($metadatas) { if ($metadatas) {
$output->write(PHP_EOL); $output->write(PHP_EOL);
foreach ($metadatas as $metadata) { foreach ($metadata as $class) {
$output->write(sprintf('Processing entity "<info>%s</info>"', $metadata->name) . PHP_EOL); $output->write(sprintf('Processing entity "<info>%s</info>"', $class->name) . PHP_EOL);
} }
$exporter->setMetadatas($metadatas); $exporter->setMetadata($metadata);
$exporter->export(); $exporter->export();
$output->write(PHP_EOL . sprintf( $output->write(PHP_EOL . sprintf(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment