public removeAttribute ( Elcodi\Component\Attribute\Entity\Interfaces\AttributeInterface $attribute ) | ||
$attribute | Elcodi\Component\Attribute\Entity\Interfaces\AttributeInterface | Attribute to be removed |
public function removeAttribute(AttributeInterface $attribute)
{
$this->attributes->removeElement($attribute);
return $this;
}