ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilMailRfc822AddressParser.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
9 {
13  protected $aggregated_parser;
14 
18  public function __construct(\ilBaseMailRfc822AddressParser $a_addresses)
19  {
20  parent::__construct($a_addresses->getAddresses());
21  $this->aggregated_parser = $a_addresses;
22  }
23 
27  protected function parseAddressString(string $a_addresses) : array
28  {
29  return $this->aggregated_parser->parse();
30  }
31 }
__construct(\ilBaseMailRfc822AddressParser $a_addresses)
Class ilBaseMailRfc822AddressParser.
Class ilMailRfc822AddressParser.