/** * @internal */ private function profilerDisable() { self::$profilerIsEnabled = false; if (is_string($this->profiler)) { $p = $this->profiler . '_disable'; $this->debug($p); return $p(); } elseif (is_array($this->profiler)) { $this->debug('data array profiler_disable'); return $this->profiler; } else { $this->info('No profiler to disable'); return array(); } }