yii\mongodb\Migration::beginProfile PHP Method

beginProfile() protected method

Marks the beginning of a code block for profiling.
Since: 2.1.1
protected beginProfile ( string $token )
$token string token for the code block.
    protected function beginProfile($token)
    {
        $this->profileTokens[$token] = microtime(true);
        $this->log($token);
    }