public function beforeCompile(): void
	{
		$builder = $this->getContainerBuilder();

		// Register as services
		foreach ($builder->findByType(IContainerAware::class) as $service) {
			$service->addSetup('setContainer');
		}
	}
public function beforeCompile(): void
	{
		$builder = $this->getContainerBuilder();

		// Register as services
		foreach ($builder->findByType(IContainerAware::class) as $service) {
			$service->addSetup('setContainer');
		}
	}
public function beforeCompile ( ) : void { $ builder = $ this -> getContainerBuilder ( ) ; // Register as services foreach ( $ builder -> findByType ( IContainerAware :: class ) as $ service ) { $ service -> addSetup ( 'setContainer' ) ; } }
Tweak DI container
Tweak DI container