public function DebuggerAwareTrait::setDebugger in Acquia Purge 8
2 calls to DebuggerAwareTrait::setDebugger()
- BackendBase::__construct in src/
AcquiaPlatformCdn/ BackendBase.php - Construct a vendor backend for the Platform CDN purger.
- DebuggerMiddleware::__invoke in src/
Http/ DebuggerMiddleware.php
File
- src/
Plugin/ Purge/ Purger/ DebuggerAwareTrait.php, line 33
Class
- DebuggerAwareTrait
- Provides a Acquia purger which is debugging aware.
Namespace
Drupal\acquia_purge\Plugin\Purge\PurgerCode
public function setDebugger(DebuggerInterface $debugger, $throw = TRUE) {
if ($throw && !is_null($this->debuggerInstance)) {
throw new \RuntimeException("Debugger already instantiated!");
}
$this->debuggerInstance = $debugger;
}