public function enable()
    {
        if ($this->autoEnabled) {
            $this->autoEnabled = false;
            $this->discard();
        }

        $enabled = $this->box('doEnable', false);

        if ($enabled && self::$probe === $this && null !== $this->outputStream) {
            self::boxPostEnable();
        }

        return $enabled;
    }
public function enable()
    {
        if ($this->autoEnabled) {
            $this->autoEnabled = false;
            $this->discard();
        }

        $enabled = $this->box('doEnable', false);

        if ($enabled && self::$probe === $this && null !== $this->outputStream) {
            self::boxPostEnable();
        }

        return $enabled;
    }
public function enable ( ) { if ( $ this -> autoEnabled ) { $ this -> autoEnabled = false ; $ this -> discard ( ) ; } $ enabled = $ this -> box ( 'doEnable' , false ) ; if ( $ enabled && self :: $ probe === $ this && null !== $ this -> outputStream ) { self :: boxPostEnable ( ) ; } return $ enabled ; }
Enables profiling instrumentation and data aggregation.

One and only one probe can be enabled at the same time.

@see getResponseLine() for error/status reporting

@return bool False if enabling failed.

@api
Enables profiling instrumentation and data aggregation .