Get the feed entries
public getEntries ( ) : array | ||
Résultat | array | \Google\Spreadsheet\CellEntry |
public function testGetEntries() { $feed = new CellFeed($this->getSimpleXMLElement("cell-feed")); $this->assertEquals(6, count($feed->getEntries())); // The same call needs to be made again to test returning the // cached version of the entries. required for 100% coverage $this->assertEquals(6, count($feed->getEntries())); }
public function setUp() { $this->batchRequest = new BatchRequest(); $feed = new CellFeed($this->getSimpleXMLElement("cell-feed")); $this->cellEntry = current($feed->getEntries()); $this->cellFeed = $feed; }
public function setUp() { $cellFeed = new CellFeed($this->getSimpleXMLElement("cell-feed")); $this->cellEntry = current($cellFeed->getEntries()); }