function unit_invoke_log

8.0.x unit.drush.inc unit_invoke_log($function = NULL)
6.x unit.drush.inc unit_invoke_log($function = NULL)
7.x unit.drush.inc unit_invoke_log($function = NULL)
4.x unit.drush.inc unit_invoke_log($function = NULL)
5.x unit.drush.inc unit_invoke_log($function = NULL)
master unit.drush.inc unit_invoke_log($function = NULL)

File

tests/unit.drush.inc, line 84

Code

function unit_invoke_log($function = NULL) {
  static $called = array();
  if ($function) {
    $called[] = $function;
  }
  else {
    return $called;
  }
}