ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilMailRfc822AddressParser.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
24
25 public function __construct(ilBaseMailRfc822AddressParser $addresses)
26 {
27 parent::__construct($addresses->getAddresses());
28 $this->aggregated_parser = $addresses;
29 }
30
31 protected function parseAddressString(string $addresses): array
32 {
33 return $this->aggregated_parser->parse();
34 }
35}
ilBaseMailRfc822AddressParser $aggregated_parser
__construct(ilBaseMailRfc822AddressParser $addresses)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc