You are here

public function Feed::valid in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Writer/Feed.php \Zend\Feed\Writer\Feed::valid()

Check to see if the iterator is still valid

Return value

bool

File

vendor/zendframework/zend-feed/src/Writer/Feed.php, line 211

Class

Feed

Namespace

Zend\Feed\Writer

Code

public function valid() {
  return 0 <= $this->entriesKey && $this->entriesKey < $this
    ->count();
}