/** * Returns the AddressGroupConsumer singleton instance. * * @return \ZBateson\MailMimeParser\Header\Consumer\AddressGroupConsumer */ public function getAddressGroupConsumer() { return AddressGroupConsumer::getInstance($this, $this->partFactory); }
protected function setUp() { $pf = new HeaderPartFactory(); $cs = new ConsumerService($pf); $this->addressGroupConsumer = AddressGroupConsumer::getInstance($cs, $pf); }