--- a/Command/GenerateDocumentClassCommand.php Thu Oct 27 05:51:04 2011 +0200
+++ b/Command/GenerateDocumentClassCommand.php Thu Oct 27 21:21:11 2011 +0200
@@ -29,7 +29,7 @@
$this
->setName('wikitag:generate-document-class')
- ->setDescription('Generate the document class document class')
+ ->setDescription('Generate the document class')
->addArgument('path', InputArgument::OPTIONAL, 'The generation path')
->addOption("simulate","S",InputOption::VALUE_NONE, "Simulate generation");
}
@@ -44,7 +44,7 @@
$definition = new Definition('IRI\Bundle\WikiTagBundle\Entity\Document');
- $definition->setParentClass('IRI\Bundle\WikiTagBundle\Model\Document');
+ $definition->setParentClass('\IRI\Bundle\WikiTagBundle\Model\Document');
$fields = $this->getContainer()->getParameter('wiki_tag.fields');
foreach ( $fields as $name => $field_def)