Google\Spreadsheet\CellFeed::getId PHP 메소드

getId() 공개 메소드

Get the feed id. Returns the full url.
public getId ( ) : string
리턴 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());
 }