public function loadConfiguration(): void
	{
		parent::loadConfiguration();

		$builder = $this->getContainerBuilder();

		$builder->addDefinition($this->prefix('application'))
			->setFactory(MiddlewareApplication::class)
			->setArguments([new Statement('@' . $this->prefix('chain') . '::create')]);
	}
public function loadConfiguration(): void
	{
		parent::loadConfiguration();

		$builder = $this->getContainerBuilder();

		$builder->addDefinition($this->prefix('application'))
			->setFactory(MiddlewareApplication::class)
			->setArguments([new Statement('@' . $this->prefix('chain') . '::create')]);
	}
public function loadConfiguration ( ) : void { parent :: loadConfiguration ( ) ; $ builder = $ this -> getContainerBuilder ( ) ; $ builder -> addDefinition ( $ this -> prefix ( 'application' ) ) -> setFactory ( MiddlewareApplication :: class ) -> setArguments ( [ new Statement ( '@' . $ this -> prefix ( 'chain' ) . '::create' ) ] ) ; }
Register middlewares in standalone mode
Register middlewares in standalone mode