Methods

get all set flags

getFlags() : array

Returns

arrayarray with flags, key and value are the same for easy lookup

return toplines as found after headers

getTopLines() : string

Returns

stringtoplines

check if flag is set

hasFlag(mixed $flag) : bool

Parameters

$flag

mixed

a flag name, use constants defined in Zend\Mail\Storage

Returns

booltrue if set, otherwise false