1 | <?php |
||
8 | abstract class AbstractEventStream implements \IteratorAggregate, \Countable |
||
9 | { |
||
10 | protected $identity; |
||
11 | |||
12 | protected $events; |
||
13 | |||
14 | public function getIterator() |
||
18 | |||
19 | public function getIdentity() |
||
23 | |||
24 | public function count() |
||
28 | |||
29 | public function first() |
||
33 | |||
34 | public function last() |
||
38 | |||
39 | public function getEvents() |
||
43 | } |
||
44 |