PHP Dapatkan Elemen Pertama dari Kelas Iterator

$first = $iterator->current();

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