code: public function removeAttribute(string $attributeName) {
          if(isset($this->attributes[$attributeName]))
              unset($this->attributes[$attributeName]);
      }
docs: Removes an attribute from collection
  
  @param string $attributeName