comparison vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Feed.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents 5311817fb629
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
477 } 477 }
478 478
479 /** 479 /**
480 * Attempt to absolutise the URI, i.e. if a relative URI apply the 480 * Attempt to absolutise the URI, i.e. if a relative URI apply the
481 * xml:base value as a prefix to turn into an absolute URI. 481 * xml:base value as a prefix to turn into an absolute URI.
482 *
483 * @param string $link
484 * @return string|null
482 */ 485 */
483 protected function absolutiseUri($link) 486 protected function absolutiseUri($link)
484 { 487 {
485 if (! Uri::factory($link)->isAbsolute()) { 488 if (! Uri::factory($link)->isAbsolute()) {
486 if ($this->getBaseUrl() !== null) { 489 if ($this->getBaseUrl() !== null) {