Copied!

Simple service provider for consumer singletons.

CloneableInstantiable
Methods
public __construct(ZBateson\MailMimeParser\Header\Part\HeaderPartFactory $partFactory, ZBateson\MailMimeParser\Header\Part\MimeLiteralPartFactory $mimeLiteralPartFactory)
public getAddressBaseConsumer()
 

Returns the AddressBaseConsumer singleton instance.

  • return \AddressBaseConsumer
public getAddressConsumer()
 

Returns the AddressConsumer singleton instance.

  • return \AddressConsumer
public getAddressEmailConsumer()
 

Returns the AddressEmailConsumer singleton instance.

  • return \AddressEmailConsumer
public getAddressGroupConsumer()
 

Returns the AddressGroupConsumer singleton instance.

  • return \AddressGroupConsumer
public getCommentConsumer()
 

Returns the CommentConsumer singleton instance.

  • return \CommentConsumer
public getDateConsumer()
 

Returns the DateConsumer singleton instance.

  • return \DateConsumer
public getGenericConsumer()
 

Returns the GenericConsumer singleton instance.

  • return \GenericConsumer
public getIdBaseConsumer()
 

Returns the IdBaseConsumer singleton instance.

  • return \IdBaseConsumer
public getIdConsumer()
 

Returns the IdConsumer singleton instance.

  • return \IdConsumer
public getParameterConsumer()
 

Returns the ParameterConsumer singleton instance.

  • return \ParameterConsumer
public getQuotedStringConsumer()
 

Returns the QuotedStringConsumer singleton instance.

  • return \QuotedStringConsumer
public getReceivedConsumer()
 

Returns the ReceivedConsumer singleton instance.

  • return \ReceivedConsumer
public getSubjectConsumer()
 

Returns the SubjectConsumer singleton instance.

  • return \SubjectConsumer
public getSubReceivedConsumer(string $partName)
 

Returns the consumer instance corresponding to the passed part name of a Received header.

  • return \AbstractConsumer
Properties
protected $mimeLiteralPartFactory = NULL
 
  • var \ZBateson\MailMimeParser\Header\Part\MimeLiteralPartFactory used for GenericConsumer instances.
protected $partFactory = NULL
 
  • var \ZBateson\MailMimeParser\Header\Part\HeaderPartFactory the HeaderPartFactory instance used to create HeaderParts.
protected $receivedConsumers = ['from' => NULL, 'by' => NULL, 'via' => NULL, 'with' => NULL, 'id' => NULL, 'for' => NULL, 'date' => NULL]
 
  • var \Received\DomainConsumer[]|\Received\GenericReceivedConsumer[]|\Received\ReceivedDateConsumer[] an array of sub-received header consumer instances.
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration