You are here

protected function MockHelperTrait::isDebug in Mini site 8

Check if testing framework was ran with --debug option.

File

tests/src/Traits/MockHelperTrait.php, line 135

Class

MockHelperTrait
Trait MockHelperTrait.

Namespace

Drupal\Tests\minisite\Traits

Code

protected function isDebug() {
  return in_array('--debug', $_SERVER['argv'], TRUE);
}