Zend\Mail\Headers::get
Get all headers of a certain name/type
Signature
public function get(string
$name )
Parameters
$name
— string
Returns
- HeaderInterface
- Returns false if there is no headers with $name in this
contain, an ArrayIterator if the header is a MultipleHeadersInterface instance and finally returns HeaderInterface for the rest of cases.