Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function removeAttribute(AttributeInterface $attribute)
 {
     if ($this->hasAttribute($attribute)) {
         $this->attributes->removeElement($attribute);
     }
     return $this;
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function removeAttribute(AttributeInterface $attribute)
 {
     $this->attributes->removeElement($attribute);
 }
Esempio n. 3
0
 /**
  * {@inheritdoc}
  */
 public function removeAttribute(BaseAttributeInterface $attribute)
 {
     $this->attributes->removeElement($attribute);
     return $this;
 }