/**
  * Overridden to assign ParameterParts to a map of lower-case parameter
  * names to ParameterParts.
  * 
  * @param AbstractConsumer $consumer
  */
 protected function setParseHeaderValue(AbstractConsumer $consumer)
 {
     parent::setParseHeaderValue($consumer);
     foreach ($this->parts as $part) {
         if ($part instanceof ParameterPart) {
             $this->parameters[strtolower($part->getName())] = $part;
         }
     }
 }
 /**
  * Overridden to extract all addresses into addresses array.
  * 
  * @param AbstractConsumer $consumer
  */
 protected function setParseHeaderValue(AbstractConsumer $consumer)
 {
     parent::setParseHeaderValue($consumer);
     foreach ($this->parts as $part) {
         if ($part instanceof AddressPart) {
             $this->addresses[] = $part;
         } elseif ($part instanceof AddressGroupPart) {
             $this->addresses = array_merge($this->addresses, $part->getAddresses());
             $this->groups[] = $part;
         }
     }
 }