You are here

public function AbstractFeed::count in Zircon Profile 8

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

Get the number of feed entries. Required by the Iterator interface.

Return value

int

1 call to AbstractFeed::count()
AbstractFeed::valid in vendor/zendframework/zend-feed/src/Reader/AbstractFeed.php
Check to see if the iterator is still valid

File

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

Class

AbstractFeed

Namespace

Zend\Feed\Reader

Code

public function count() {
  return count($this->entries);
}