public function current() { $child = current($this->children); if (false === $child) { return null; } return $child; }