Пример #1
0
 public function fetchData()
 {
     $rss = new Rss();
     $this->_feed = $rss->feed($this->_url, 'xml');
     return $this->_feed != null;
 }
Пример #2
0
 /**
  * @return Collection
  */
 public static function latestReleased()
 {
     $rss = new Rss();
     $feed = $rss->feed(static::$_apiUrl . '/feeds/releases.rss');
     return $feed->articles();
 }