/** * {@inheritdoc} */ public function setOption($key, $value) { // $this->loader is null at this moment so we have to use the definition directly if ($this->aContainer->has('conditional_router.routing_loader')) { $resolverKeys = $this->aContainer->get('conditional_router.routing_loader')->getResolverKeys(); if (in_array($key, $this->optionsToAppend)) { $value .= $resolverKeys; } } return parent::setOption($key, $value); }