Added output to doctrine:generate:entity command and removed undesirable (and misnamed) call to doctrine:generate:entities.
This commit is contained in:
parent
a7e20687f6
commit
75cc89b4ee
@ -120,8 +120,8 @@ EOT
|
|||||||
mkdir($dir, 0777, true);
|
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);
|
file_put_contents($path, $code);
|
||||||
|
|
||||||
$this->runCommand('doctrine:generate-entities');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user