/** * @param Role $child */ public function removeChildren(Role $child) { $this->children->removeElement($child); }
public function removeRoleEntity(Role $role) { $this->roleEntities->removeElement($role); }