public function getHeaderFactory()
    {
        if ($this->headerFactory === null) {
            $this->headerFactory = new HeaderFactory($this->getConsumerService());
        }
        return $this->headerFactory;
    }
public function getHeaderFactory()
    {
        if ($this->headerFactory === null) {
            $this->headerFactory = new HeaderFactory($this->getConsumerService());
        }
        return $this->headerFactory;
    }
public function getHeaderFactory ( ) { if ( $ this -> headerFactory === null ) { $ this -> headerFactory = new HeaderFactory ( $ this -> getConsumerService ( ) ) ; } return $ this -> headerFactory ; }
Returns the header factory service instance.

@return \ZBateson\MailMimeParser\Header\HeaderFactory
Returns the header factory service instance .