You are here

public function AkamaiClientBase::isAkamaiManagedUrl in Akamai 8.3

Checks whether a fully qualified URL is handled by Akamai.

Note this is based only on local config and doesn't check upstream.

Parameters

string $url: The URL to check.

Return value

bool TRUE if a url with an Akamai managed domain, FALSE if not.

1 call to AkamaiClientBase::isAkamaiManagedUrl()
AkamaiClientBase::purgeUrls in src/AkamaiClientBase.php
Purges a list of URL objects.

File

src/AkamaiClientBase.php, line 352

Class

AkamaiClientBase
Connects to the Akamai EdgeGrid.

Namespace

Drupal\akamai

Code

public function isAkamaiManagedUrl($url) {
  return strpos($url, $this->baseUrl) !== FALSE;
}