public function afterCompile(ClassType $class): void
	{
		$config = $this->config;

		if ($config->debug === true) {
			$initialize = $class->getMethod('initialize');
			$initialize->addBody(
				'$this->getService(?)->addPanel($this->getService(?));',
				['tracy.bar', $this->prefix('panel')]
			);
		}
	}
public function afterCompile(ClassType $class): void
	{
		$config = $this->config;

		if ($config->debug === true) {
			$initialize = $class->getMethod('initialize');
			$initialize->addBody(
				'$this->getService(?)->addPanel($this->getService(?));',
				['tracy.bar', $this->prefix('panel')]
			);
		}
	}
public function afterCompile ( ClassType $ class ) : void { $ config = $ this -> config ; if ( $ config -> debug === true ) { $ initialize = $ class -> getMethod ( 'initialize' ) ; $ initialize -> addBody ( '$this->getService(?)->addPanel($this->getService(?));' , [ 'tracy.bar' , $ this -> prefix ( 'panel' ) ] ) ; } }
Show mail panel in tracy
Show mail panel in tracy