You are here

public function AbstractFeed::valid in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/AbstractFeed.php \Zend\Feed\Reader\AbstractFeed::valid()
  2. 8.0 vendor/zendframework/zend-feed/src/Reader/Feed/AbstractFeed.php \Zend\Feed\Reader\Feed\AbstractFeed::valid()
Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Reader/Feed/AbstractFeed.php \Zend\Feed\Reader\Feed\AbstractFeed::valid()

Check to see if the iterator is still valid

Return value

bool

File

vendor/zendframework/zend-feed/src/Reader/Feed/AbstractFeed.php, line 241

Class

AbstractFeed

Namespace

Zend\Feed\Reader\Feed

Code

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