You are here

protected function Debugger::indentationDepth in Acquia Purge 8

Calculate the indentation depth in number of characters.

Return value

int The number of characters to be used for indentation.

3 calls to Debugger::indentationDepth()
Debugger::write in src/Plugin/Purge/Purger/Debugger.php
Write a line to the logger's debug output stream.
Debugger::writeSeparator in src/Plugin/Purge/Purger/Debugger.php
Write out a separator line to Drupal's debug output.
Debugger::writeTitle in src/Plugin/Purge/Purger/Debugger.php
Write a header title.

File

src/Plugin/Purge/Purger/Debugger.php, line 172

Class

Debugger
Provides a centralized debugger for Acquia purger plugins.

Namespace

Drupal\acquia_purge\Plugin\Purge\Purger

Code

protected function indentationDepth() {
  return count($this->callGraph) * self::OUTPUT_INDENTLEN;
}