adapter() public method

Method to get the adapter object
public adapter ( ) : AbstractFormat
return Pop\Feed\Format\AbstractFormat
Ejemplo n.º 1
0
 public function testRenderNoContentException()
 {
     $this->setExpectedException('Pop\\Feed\\Exception');
     $feed = new Feed\Reader(new Feed\Format\Rss\Vimeo('http://vimeo.com/tag:mostviewed/rss', 4));
     unset($feed->adapter()->items);
     $code = $feed->render(true);
 }