Created
May 7, 2012 17:18
-
-
Save Allisone/2629065 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Genero { | |
/** | |
* The peliculas | |
* @var \Peliculas\Domain\Model\Peliculas | |
* @ORM\ManyToOne | |
*/ | |
protected $peliculas; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Peliculas { | |
/** | |
* The generos | |
* @var \Doctrine\Common\Collections\Collection<\Peliculas\Domain\Model\Genero> | |
* @ORM\OneToMany(mappedBy="peliculas") | |
*/ | |
protected $generos; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment