public function init() { if (!isset($this->module->panels['profiling'])) { throw new InvalidConfigException('Unable to determine the profiling panel'); } parent::init(); }