1 | <?php |
||
8 | class PropertyAggregators implements \IteratorAggregate |
||
9 | { |
||
10 | /** |
||
11 | * @var \SplObjectStorage |
||
12 | */ |
||
13 | private $map; |
||
14 | |||
15 | public function __construct() |
||
19 | |||
20 | /** |
||
21 | * @param Property $property |
||
22 | * @param AggregatorRelay $aggregatorRelay |
||
23 | */ |
||
24 | public function registerAggregatorRelay(Property $property, AggregatorRelay $aggregatorRelay) |
||
28 | |||
29 | /** |
||
30 | * @param array $characters |
||
31 | */ |
||
32 | public function addCharacters(array $characters) |
||
39 | |||
40 | /** |
||
41 | * @param Property $property |
||
42 | * @return AggregatorRelay |
||
43 | * @throws UnexpectedValueException |
||
44 | */ |
||
45 | public function getByProperty(Property $property) |
||
53 | |||
54 | /** |
||
55 | * {@inheritDoc} |
||
56 | */ |
||
57 | public function getIterator() |
||
63 | } |