Pop\Feed\Format\AbstractFormat::url PHP Method

url() public method

Method to get the URL
public url ( ) : string
return string
    public function url()
    {
        return $this->url;
    }

Usage Example

Example #1
0
 /**
  * Method to determine if the feed type is a playlist
  *
  * @return boolean
  */
 public function isPlaylist()
 {
     $search = $this->isVimeo() ? 'album' : 'playlist';
     return strpos($this->adapter->url(), $search) !== false;
 }