From 997ef97521c2242916bc0dfe93f0abd7404b120e Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Sat, 10 Apr 2010 12:04:23 +0200 Subject: [PATCH] Updated SchemaTool usage docs with mapping paths information example --- manual/en/tools.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manual/en/tools.txt b/manual/en/tools.txt index bec25dddd..31109b7f6 100644 --- a/manual/en/tools.txt +++ b/manual/en/tools.txt @@ -169,6 +169,13 @@ for the ran operation. Before using the orm:schema-tool commands, remember to configure your cli-config.php properly. +> **NOTE** +> +> When using the Annotation Mapping Driver you have to either setup your autoloader in the cli-config.php +> correctly to find all the entities, or you can use the second argument of the `EntityManagerHelper` to +> specifiy all the paths of your entities (or mapping files), i.e. +> `new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($em, $mappingPaths);` + ++ Convert Mapping Information Doctrine comes with some special tools for working with the various supported