ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilMailDiffAddressList.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
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}
An exception for terminatinating execution or to throw for unit testing.
Class ilMailDiffAddressList.
__construct(ilMailAddressList $left, ilMailAddressList $right)
ilMailDiffAddressList constructor.
Interface ilMailAddressList.