collector = $collector; $this->params = $params; } /** * Can this output type be used? * @return bool */ public function canUse() { return true; } /** * Log MediaWiki-style profiling data * * @param array $stats Result of Profiler::getFunctionStats() */ abstract public function log( array $stats ); }