protected beginProfile ( string $token, string $category ) | ||
$token | string | token for the code block |
$category | string | the category of this log message |
protected function beginProfile($token, $category)
{
if ($token !== false && $this->db->enableProfiling) {
Yii::beginProfile($token, $category);
}
}