You are here

public function AbstractFeed::getBaseUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Writer/AbstractFeed.php \Zend\Feed\Writer\AbstractFeed::getBaseUrl()

Get the feed's base url

Return value

string|null

File

vendor/zendframework/zend-feed/src/Writer/AbstractFeed.php, line 724

Class

AbstractFeed

Namespace

Zend\Feed\Writer

Code

public function getBaseUrl() {
  if (!array_key_exists('baseUrl', $this->data)) {
    return;
  }
  return $this->data['baseUrl'];
}