private function finish()
    {
        if ($this->main_database !== null) {
            $this->main_database->disconnect();
        }

        $this->microtime_end = microtime(true);
        $this->microtime_elapsed = $this->microtime_end - $this->microtime_start;
        $this->traceLog("Execution time", sprintf("%.3f ms", $this->microtime_elapsed * 1000));
    }
private function finish()
    {
        if ($this->main_database !== null) {
            $this->main_database->disconnect();
        }

        $this->microtime_end = microtime(true);
        $this->microtime_elapsed = $this->microtime_end - $this->microtime_start;
        $this->traceLog("Execution time", sprintf("%.3f ms", $this->microtime_elapsed * 1000));
    }
private function finish ( ) { if ( $ this -> main_database !== null ) { $ this -> main_database -> disconnect ( ) ; } $ this -> microtime_end = microtime ( true ) ; $ this -> microtime_elapsed = $ this -> microtime_end - $ this -> microtime_start ; $ this -> traceLog ( "Execution time" , sprintf ( "%.3f ms" , $ this -> microtime_elapsed * 1000 ) ) ; }
Ends the instance.
Takes the elapsed time between init and finish calls and closes connections to external sources.
Ends the instance . Takes the elapsed time between init and finish calls and closes connections to external sources .