PartKeepr\FootprintBundle\Entity\Footprint::removeAttachment PHP Méthode

removeAttachment() public méthode

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