Google\Spreadsheet\CellFeed::getId PHP Method

getId() public method

Get the feed id. Returns the full url.
public getId ( ) : string
return string
    public function getId()
    {
        return $this->xml->id->__toString();
    }

Usage Example

 public function testGetId()
 {
     $feed = new CellFeed($this->getSimpleXMLElement("cell-feed"));
     $this->assertEquals("https://spreadsheets.google.com/feeds/cells/15L06yklgflGRDjnN-VvhGYOoVLCH40DJoW5fFiqSTc5U/od6/private/full", $feed->getId());
 }