PartKeepr\FootprintBundle\Entity\Footprint::removeAttachment PHP Method

removeAttachment() public method

Removes an IC Logo.
public removeAttachment ( FootprintAttachment $attachment ) : void
$attachment FootprintAttachment
return void
    public function removeAttachment(FootprintAttachment $attachment)
    {
        $attachment->setFootprint(null);
        $this->attachments->removeElement($attachment);
    }