From f6f5b059d32143f9effd6ad0249aff1ba0b35e6f Mon Sep 17 00:00:00 2001 From: PavelZ Date: Fri, 29 Apr 2016 13:29:18 +0300 Subject: [PATCH] [FIX] Mapping convertion using database --- src/Console/ConvertMappingCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Console/ConvertMappingCommand.php b/src/Console/ConvertMappingCommand.php index 07a4b9d8..7a7f33fe 100644 --- a/src/Console/ConvertMappingCommand.php +++ b/src/Console/ConvertMappingCommand.php @@ -3,6 +3,7 @@ namespace LaravelDoctrine\ORM\Console; use Doctrine\Common\Persistence\ManagerRegistry; +use Doctrine\ORM\Mapping\Driver\DatabaseDriver; use Doctrine\ORM\Tools\Console\MetadataFilter; use Doctrine\ORM\Tools\DisconnectedClassMetadataFactory; use Doctrine\ORM\Tools\EntityGenerator; @@ -21,7 +22,7 @@ class ConvertMappingCommand extends Command {--em= : Generate getter and setter for a specific entity manager. } {--filter= : A string pattern used to match entities that should be processed.} {--force= : Force to overwrite existing mapping files.} - {--from-database= : Whether or not to convert mapping information from existing database.} + {--from-database : Whether or not to convert mapping information from existing database.} {--extend= : Defines a base class to be extended by generated entity classes.} {--num-spaces=4 : Defines the number of indentation spaces} {--namespace= : Defines a namespace for the generated entity classes, if converted from database.}';