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