>
> Thanks for your quick reply, there must be something wrong about with the 
> entity path,  even though I   add following codes into the doctrine.php 
> in the bin directory, it is still the same. it should work, I dump the Path 
> object there , I can see its result .I guess somewhere doctrine us 
> reflection to find the Path class, can it automatically find its 
> namespace, because when I delete the "use Gush\Sync\Entity\Path" line, I 
> am not able to create a Path object again.   do you have any idea please?
>

use  Gush\Sync\Entity\Path;

define('GUSH_ROOT',getcwd());

$autoLoader=require_once __DIR__ . '/../../../autoload.php';

$autoLoader->addPsr4('Gush\Sync\Entity'.'\\',GUSH_ROOT.'/modules/Sync/Entity');

 var_dump(new Path());exit;

On Monday, August 11, 2014 12:49:19 PM UTC+8, Parsifal wrote:
>
> The schema tool has nothing to do with composer. You need to define the 
> entity path in bootstrap of doctrine and also create cli-config.php file.
>  

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to