src/DI/DbalExtension.php
public function afterCompile(ClassType $class): void
	{
		$config = $this->validateConfig($this->defaults);

		if ($config['debugger']['panel'] === true) {
			$initialize = $class->getMethod('initialize');
			$initialize->addBody(
				'$this->getService(?)->addPanel($this->getService(?));',
				['tracy.bar', $this->prefix('queryPanel')]
			);
			$initialize->addBody(
				'$this->getService(?)->getConfiguration()->getSqlLogger()->addLogger($this->getService(?));',
				[$this->prefix('connection'), $this->prefix('queryPanel')]
			);
			$initialize->addBody(
				'$this->getService(?)->addPanel(new ?);',
				['tracy.blueScreen', ContainerBuilder::literal(DbalBlueScreen::class)]
			);
		}
	}
public function afterCompile(ClassType $class): void
	{
		$config = $this->validateConfig($this->defaults);

		if ($config['debugger']['panel'] === true) {
			$initialize = $class->getMethod('initialize');
			$initialize->addBody(
				'$this->getService(?)->addPanel($this->getService(?));',
				['tracy.bar', $this->prefix('queryPanel')]
			);
			$initialize->addBody(
				'$this->getService(?)->getConfiguration()->getSqlLogger()->addLogger($this->getService(?));',
				[$this->prefix('connection'), $this->prefix('queryPanel')]
			);
			$initialize->addBody(
				'$this->getService(?)->addPanel(new ?);',
				['tracy.blueScreen', ContainerBuilder::literal(DbalBlueScreen::class)]
			);
		}
	}
public function afterCompile ( ClassType $ class ) : void { $ config = $ this -> validateConfig ( $ this -> defaults ) ; if ( $ config [ 'debugger' ] [ 'panel' ] === true ) { $ initialize = $ class -> getMethod ( 'initialize' ) ; $ initialize -> addBody ( '$this->getService(?)->addPanel($this->getService(?));' , [ 'tracy.bar' , $ this -> prefix ( 'queryPanel' ) ] ) ; $ initialize -> addBody ( '$this->getService(?)->getConfiguration()->getSqlLogger()->addLogger($this->getService(?));' , [ $ this -> prefix ( 'connection' ) , $ this -> prefix ( 'queryPanel' ) ] ) ; $ initialize -> addBody ( '$this->getService(?)->addPanel(new ?);' , [ 'tracy.blueScreen' , ContainerBuilder :: literal ( DbalBlueScreen :: class ) ] ) ; } }
Update initialize method
Update initialize method