ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilMailDiffAddressList.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 $left;
12 
14  protected $right;
15 
22  {
23  $this->left = $left;
24  $this->right = $right;
25  }
26 
27 
31  public function value() : array
32  {
33  $leftAddresses = $this->left->value();
34  $rightAddresses = $this->right->value();
35 
36  return array_diff($leftAddresses, $rightAddresses);
37  }
38 }
margin left
Definition: langcheck.php:164
Class ilMailDiffAddressList.
Interface ilMailAddressList.
__construct(\ilMailAddressList $left, \ilMailAddressList $right)
ilMailDiffAddressList constructor.