From: WishCow <vis...@gmail.com>
Date: Sun, 1 May 2011 13:25:10 -0700 (PDT)
Local: Sun, May 1 2011 4:25 pm
Subject: Re: Problems in generate models from yml
You need to supply a directory as a second parameter, where doctrine
will place the generated entities. Eg.: C:\xampp\php\php.exe doctrine.php orm:generate-entities C:\project
On máj. 1, 17:24, Luis Mercado Medina <luis.mercado.med...@gmail.com>
> Hi
> Well i have a problems first y generate my yml with plugyn the mysql
> C:\xampp\htdocs\doctrine\library>C:\xampp\php\php.exe doctrine.php
> [RuntimeException]
> <?php
> $classLoader = new \Doctrine\Common\ClassLoader('Entities', __DIR__);
> $classLoader = new \Doctrine\Common\ClassLoader('Proxies', __DIR__);
> $config = new \Doctrine\ORM\Configuration();
> $driver = new Doctrine\ORM\Mapping\Driver\YamlDriver(array(__DIR__
> $connectionOptions = array(
> $em = \Doctrine\ORM\EntityManager::create($connectionOptions, $config);
> $helperSet = new \Symfony\Component\Console\Helper\HelperSet(array(
> -----yml
> Cliente:
> Rubro:
> Noticia:
> --
> structure.jpg
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||