1 | <?php |
||
4 | class SalesmanFilterIterator extends \FilterIterator |
||
5 | { |
||
6 | |||
7 | /** |
||
8 | * @var mixed |
||
9 | */ |
||
10 | public $salesman_filter; |
||
11 | |||
12 | |||
13 | /** |
||
14 | * @param \Traversable $collection Collection of SalesmanIdProviderInterface |
||
15 | * @param SalesmanIdProviderInterface|SalesmanIdProviderInterface[]|int $salesman_filter The Salesman ID to filter for |
||
16 | */ |
||
17 | 180 | public function __construct( \Traversable $collection, $salesman_filter ) |
|
34 | |||
35 | |||
36 | 180 | public function accept() |
|
54 | } |
||
55 |