You are here

public function Feed::count 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::count()

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

Return value

int

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

File

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

Class

Feed

Namespace

Zend\Feed\Writer

Code

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