ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilMailDiffAddressList.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
29 
30  public function __construct(ilMailAddressList $left, ilMailAddressList $right)
31  {
32  $this->left = $left;
33  $this->right = $right;
34  }
35 
36  public function value(): array
37  {
38  $leftAddresses = $this->left->value();
39  $rightAddresses = $this->right->value();
40 
41  return array_diff($leftAddresses, $rightAddresses);
42  }
43 }
Class ilMailDiffAddressList.
Interface ilMailAddressList.
__construct(ilMailAddressList $left, ilMailAddressList $right)