public function getAll($name)
    {
        $s = $this->getNormalizedHeaderName($name);
        $ret = [];
        if (!empty($this->headerMap[$s])) {
            foreach ($this->headerMap[$s] as $index) {
                $ret[] = $this->getByIndex($index);
            }
        }
        return $ret;
    }
public function getAll($name)
    {
        $s = $this->getNormalizedHeaderName($name);
        $ret = [];
        if (!empty($this->headerMap[$s])) {
            foreach ($this->headerMap[$s] as $index) {
                $ret[] = $this->getByIndex($index);
            }
        }
        return $ret;
    }
public function getAll ( $ name ) { $ s = $ this -> getNormalizedHeaderName ( $ name ) ; $ ret = [ ] ; if ( ! empty ( $ this -> headerMap [ $ s ] ) ) { foreach ( $ this -> headerMap [ $ s ] as $ index ) { $ ret [ ] = $ this -> getByIndex ( $ index ) ; } } return $ ret ; }
Returns all headers with the passed name.

@param string $name
@return \ZBateson\MailMimeParser\Header\AbstractHeader[]
Returns all headers with the passed name .