protected function finishLastPoint()
    {
        // Measurements are more accurate
        $stopTime = microtime(true);

        if($this->currentPoint)
        {
            // Get point
            $point = $this->currentPoint;

            if($point->isActive())
            {
                // Set query log items
                $this->setQueryLogItemsToPoint($point);

                // Check if message in label text
                $this->checkAndSetMessageInToLabel($point);

                // Finish point
                $point->setStopTime($stopTime);
                $point->finish();

                $this->pointStack[] = $point;

                // Trigger presenter listener
                $this->presenter->finishPointTrigger($point);
            }
        }
    }
protected function finishLastPoint()
    {
        // Measurements are more accurate
        $stopTime = microtime(true);

        if($this->currentPoint)
        {
            // Get point
            $point = $this->currentPoint;

            if($point->isActive())
            {
                // Set query log items
                $this->setQueryLogItemsToPoint($point);

                // Check if message in label text
                $this->checkAndSetMessageInToLabel($point);

                // Finish point
                $point->setStopTime($stopTime);
                $point->finish();

                $this->pointStack[] = $point;

                // Trigger presenter listener
                $this->presenter->finishPointTrigger($point);
            }
        }
    }
protected function finishLastPoint ( ) { // Measurements are more accurate $ stopTime = microtime ( true ) ; if ( $ this -> currentPoint ) { // Get point $ point = $ this -> currentPoint ; if ( $ point -> isActive ( ) ) { // Set query log items $ this -> setQueryLogItemsToPoint ( $ point ) ; // Check if message in label text $ this -> checkAndSetMessageInToLabel ( $ point ) ; // Finish point $ point -> setStopTime ( $ stopTime ) ; $ point -> finish ( ) ; $ this -> pointStack [ ] = $ point ; // Trigger presenter listener $ this -> presenter -> finishPointTrigger ( $ point ) ; } } }
Finish all point in the stack

@return void
Finish all point in the stack