public getPostUrl ( ) : string | ||
return | string |
public function getPostUrl()
{
return Util::getLinkHref($this->xml, 'http://schemas.google.com/g/2005#post');
}
public function testGetPostUrl() { $xml = file_get_contents(__DIR__ . '/xml/list-feed.xml'); $listFeed = new ListFeed($xml); $this->assertEquals('https://spreadsheets.google.com/feeds/list/G3345eEsfsk60/od6/private/full', $listFeed->getPostUrl()); }