Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
-Subproject commit eda18149373d85ebbf9a529fb56bcb6d213e2b84
+Subproject commit 5177a1b50e47e7d62a66aba9565580af3abf15dd
protected function fetch()
{
- return new PlArrayIterator($this->user_list);
+ return PlIteratorUtils::fromArray($this->user_list);
}
protected function buildEntry($entry)
public function __construct(Notifs& $notifs)
{
$this->notifs =& $notifs;
- $this->it = new PlArrayIterator($notifs->_data, 3);
+ $this->it = PlIteratorUtils::fromArray($notifs->_data, 3);
}
public function next()