You are here

protected function Module::logCall in AmazonS3 7.2

Log a function call.

Parameters

string $key: A string with a function and any context data.

2 calls to Module::logCall()
Module::drupal_alter in tests/DrupalAdapter/Module.php
Module::module_invoke_all in tests/DrupalAdapter/Module.php

File

tests/DrupalAdapter/Module.php, line 44

Class

Module
Stub for module.inc functions, with a call counter to log each call.

Namespace

Drupal\amazons3Test\DrupalAdapter

Code

protected function logCall($key) {
  if (!isset($this->callCount[$key])) {
    $this->callCount[$key] = 0;
  }
  $this->callCount[$key]++;
}