You are here

function crumbs_Debug_CandidateLogger::setBestCandidateKey in Crumbs, the Breadcrumbs suite 7.2

Parameters

string $key:

File

lib/Debug/CandidateLogger.php, line 143

Class

crumbs_Debug_CandidateLogger

Code

function setBestCandidateKey($key) {
  $this->info['bestCandidateKey'] = $key;
  if (isset($this->info['candidates'][$key])) {
    $this->info['bestCandidate'] = $this->info['candidates'][$key];
  }
}