[command] Fixed output (for real)
This commit is contained in:
parent
e35ae76511
commit
f18df260fe
7 changed files with 50 additions and 35 deletions
|
|
@ -54,16 +54,14 @@ EOT
|
|||
|
||||
if (true === $this->callPhing('om')) {
|
||||
foreach ($this->tempSchemas as $schemaFile => $schemaDetails) {
|
||||
if (file_exists($schemaFile)) {
|
||||
$output->writeln(sprintf(
|
||||
'Built Model classes for bundle <info>%s</info> from <comment>%s</comment>.',
|
||||
$schemaDetails['bundle'],
|
||||
$schemaDetails['path']
|
||||
));
|
||||
}
|
||||
$output->writeln(sprintf(
|
||||
'>> <info>%s</info> Generated model classes from <comment>%s</comment>',
|
||||
$schemaDetails['bundle'],
|
||||
$schemaDetails['basename']
|
||||
));
|
||||
}
|
||||
} else {
|
||||
$this->writeTaskError('om');
|
||||
$this->writeTaskError($output, 'om');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue