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