public function addAttribute(Attribute $attribute): ComplexEntity
	{
		$this->attributesCollection = $this->getAttributes()->addAttribute($attribute);
		return $this;
	}
public function addAttribute(Attribute $attribute): ComplexEntity
	{
		$this->attributesCollection = $this->getAttributes()->addAttribute($attribute);
		return $this;
	}
public function addAttribute ( Attribute $ attribute ) : ComplexEntity { $ this -> attributesCollection = $ this -> getAttributes ( ) -> addAttribute ( $ attribute ) ; return $ this ; }
Add attribute definition

@param Attribute $attribute

@return ComplexEntity
Add attribute definition