/** * This method returns whether the iterator is still valid. * * @access public * @final * @return boolean whether there are more objects */ public final function valid() : bool { return $this->iterator->valid(); }