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