ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilMailAddressListImpl.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
9 {
11  protected $addresses = [];
12 
17  public function __construct(array $addresses)
18  {
19  // Ensure valid types in array
20  array_walk($addresses, function (\ilMailAddress $address) {
21  });
22 
23  $this->addresses = $addresses;
24  }
25 
29  public function value() : array
30  {
31  return $this->addresses;
32  }
33 }
__construct(array $addresses)
ilMailAddressListImpl constructor.
Interface ilMailAddressList.
Class ilMailAddress.
Class ilMailAddressListImpl.