Skip to content

Instantly share code, notes, and snippets.

@coma
Created June 2, 2012 20:16
Show Gist options
  • Save coma/2859797 to your computer and use it in GitHub Desktop.
Save coma/2859797 to your computer and use it in GitHub Desktop.
/**
* @ORM\OneToMany(targetEntity="Picture", mappedBy="gallery", cascade={"persist", "remove"})
*/
private $pictures;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment