public function AcquiaPurgeInvalidation::hasWildcard in Acquia Purge 7
Detect if the invalidation has a '*' character in it.
Return value
bool Returns TRUE when the expression contains a wildcard, FALSE otherwise.
Overrides AcquiaPurgeInvalidationInterface::hasWildcard
File
- lib/
invalidation/ AcquiaPurgeInvalidation.php, line 123
Class
- AcquiaPurgeInvalidation
- Provides an invalidation object.
Code
public function hasWildcard() {
return strpos($this
->getPath(), '*') !== FALSE;
}