protected function onProfilerInit(ProfilerInterface $profiler) {
		if ($profiler instanceof ProfilerExtendedInterface) {
			$name = get_class($this->getBackend());
			$pos  = strrpos($name, '\\');
			
			$profiler->setName($pos === false ? $name : substr($name, $pos + 1));
			$profiler->setIcon('lightning');
			
			$profiler->addAdditionalInfo(
				'__TOPOLOGY__',
				$this->getTopology()
			);
		}
	}
protected function onProfilerInit(ProfilerInterface $profiler) {
		if ($profiler instanceof ProfilerExtendedInterface) {
			$name = get_class($this->getBackend());
			$pos  = strrpos($name, '\\');
			
			$profiler->setName($pos === false ? $name : substr($name, $pos + 1));
			$profiler->setIcon('lightning');
			
			$profiler->addAdditionalInfo(
				'__TOPOLOGY__',
				$this->getTopology()
			);
		}
	}
protected function onProfilerInit ( ProfilerInterface $ profiler ) { if ( $ profiler instanceof ProfilerExtendedInterface ) { $ name = get_class ( $ this -> getBackend ( ) ) ; $ pos = strrpos ( $ name , '\\' ) ; $ profiler -> setName ( $ pos === false ? $ name : substr ( $ name , $ pos + 1 ) ) ; $ profiler -> setIcon ( 'lightning' ) ; $ profiler -> addAdditionalInfo ( '__TOPOLOGY__' , $ this -> getTopology ( ) ) ; } }
On profiler init

@param ProfilerInterface $profiler
On profiler init