}
}
- /**
- * Return whether this a stub profiler
- *
- * @return bool
- */
- abstract public function isStub();
-
/**
* @param string $id
*/
public function logData() {
$output = isset( $this->params['output'] ) ? $this->params['output'] : null;
- if ( !$output || $this->isStub() ) {
+ if ( !$output || $this instanceof ProfilerStub ) {
// return early when no output classes defined or we're a stub
return;
}