plugin = $plugin; $bar = Debugger::getBar(); $bar->addPanel($this); } /** * @inheritDoc */ function getTab(): string { $session = $this->plugin->sessions->getCurrentSession(); ob_start(); require(dirname(__DIR__, 3) . DS . "layout" . DS . "bridge" . DS . "layout.authtab.php"); return ob_get_clean(); } /** * @inheritDoc */ function getPanel(): string { $session = $this->plugin->sessions->getCurrentSession(); ob_start(); require(dirname(__DIR__, 3) . DS . "layout" . DS . "bridge" . DS . "layout.authpanel.php"); return ob_get_clean(); } }