public function AcquiaPurgeInvalidation::getScheme in Acquia Purge 7
Get the HTTP scheme.
Parameters
bool $fqn: Pass TRUE for 'http://' or FALSE for 'http'.
Return value
string The requested scheme to be invalidated: 'http' or 'https'.
Overrides AcquiaPurgeInvalidationInterface::getScheme
1 call to AcquiaPurgeInvalidation::getScheme()
- AcquiaPurgeInvalidation::getUri in lib/
invalidation/ AcquiaPurgeInvalidation.php - Get the fully qualified URI.
File
- lib/
invalidation/ AcquiaPurgeInvalidation.php, line 68
Class
- AcquiaPurgeInvalidation
- Provides an invalidation object.
Code
public function getScheme($fqn = FALSE) {
if ($fqn) {
return $this->scheme . '://';
}
return $this->scheme;
}