Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Role
- {
- /**
- * @ORM\OneToMany(targetEntity="User", mappedBy="Role")
- */
- protected $role;
- public function __construct()
- {
- $this->role = new ArrayCollection();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement