public setPart ( |
||
$part | The part to set |
public function setPart(Part $part = null)
{
$this->part = $part;
}
/** * Removes a Part Attachment * * @param PartAttachment $partAttachment An attachment to remove */ public function removeAttachment($partAttachment) { $partAttachment->setPart(null); $this->attachments->removeElement($partAttachment); }