1 | <?php |
||
23 | class MessageManagerMessageIterator extends Iterator |
||
24 | { |
||
25 | public function __construct(ManagerRegistry $registry, $pause = 0, $batchSize = 10) |
||
26 | { |
||
27 | parent::__construct( |
||
28 | new MessageManagerMock('Sonata\NotificationBundle\Model\Message', $registry), |
||
29 | array(), |
||
30 | $pause, |
||
31 | $batchSize); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param array $types |
||
36 | */ |
||
37 | public function _bufferize($types = array()) |
||
38 | { |
||
39 | $this->bufferize($types); |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return array |
||
44 | */ |
||
45 | public function getBuffer() |
||
49 | } |
||
50 |