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