1 | <?php |
||
5 | class PropertyList implements \JsonSerializable, \IteratorAggregate |
||
6 | { |
||
7 | /** |
||
8 | * @var \ArrayObject |
||
9 | */ |
||
10 | protected $properties; |
||
11 | |||
12 | public function __construct() |
||
16 | |||
17 | /** |
||
18 | * @param PropertyInterface $property |
||
19 | */ |
||
20 | public function setProperty(PropertyInterface $property) |
||
24 | |||
25 | /** |
||
26 | * @return string |
||
27 | */ |
||
28 | public function jsonSerialize() |
||
45 | |||
46 | /** |
||
47 | * @return PropertyInterface[] |
||
48 | */ |
||
49 | public function getIterator() |
||
53 | } |
||
54 |