Fixing changed method names
This commit is contained in:
parent
be4d158b2c
commit
89c71138e6
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user