container->appConfig; $defaultConfig = $appConfig->get('authentication.*'); $config = array_merge($defaultConfig, $config); $className = $this->container->getNamespacePrefix($this->getSection()) . 'TransparentAuthentication\\DefaultTransparentAuthentication'; if (!class_exists($className, true)) { $className = '\\FOF30\\TransparentAuthentication\\TransparentAuthentication'; } $dispatcher = new $className($this->container, $config); return $dispatcher; } }