Hi I am having problems generating entities with classRepository information from YAML files.
This was in my setup, so I downloaded the tutorial example from: https://github.com/doctrine/doctrine2-orm-tutorial which has a complete set of files. But I have found that here I get the same problem if I vendor\bin\doctrine orm:generate:entities src with $config = Setup::createYAMLMetadataConfiguration(array(__DIR__."/config/yaml"), $isDevMode); set in bootstrap.php The result is for the Bug entity: use Doctrine\ORM\Mapping as ORM; /** * Bug */ class Bug { /** * @var string */ private $description; /** * @var \DateTime */ private $created; when it should be something like: <?phpuse Doctrine\Common\Collections\ArrayCollection;/** * @Entity(repositoryClass="BugRepository") @Table(name="bugs") */class Bug{ /** * @Id @Column(type="integer") @GeneratedValue */ protected $id; /** * @Column(type="string") */ protected $description; /** * @Column(type="datetime") */ protected $created; /** * @Column(type="string") */ protected $status; I cannot see what I am doing wrong...?? Help Chris -- 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.
