public function DebuggerAwareInterface::setDebugger in Acquia Purge 8
Set the debugger instance.
Parameters
\Drupal\acquia_purge\Plugin\Purge\Purger\DebuggerInterface $debugger: The debugger.
bool $throw: Throw an exception when the debugger is already set.
Throws
\RuntimeException Thrown when the debugger was already instantiated.
File
- src/
Plugin/ Purge/ Purger/ DebuggerAwareInterface.php, line 32
Class
- DebuggerAwareInterface
- Describes a Acquia purger which is debugging aware.
Namespace
Drupal\acquia_purge\Plugin\Purge\PurgerCode
public function setDebugger(DebuggerInterface $debugger, $throw = TRUE);