Exemple #1
0
 public function addAttribute(AttributeInterface $attribute)
 {
     $this->attributes[$attribute->name()] = $attribute;
     return $this;
 }