PHP Uzyskaj pierwszy element klasy iterator

$first = $iterator->current();

// remember to rewind it after a foreach
foreach($iterator as $it)
{ /* ... */ }
$iterator->rewind();
$first = $iterator->current();
TechNyquist