/** * {@inheritdoc} */ public function createDriver(array $config) { $driver = parent::createDriver($config); $namespace = $this->config->get($this->getConfigName() . '.namespace'); if ($namespace !== null && $driver instanceof HierarchicalPoolInterface) { return $this->namespacedPool($driver, $namespace); } return $driver; }
/** * {@inheritdoc} */ protected function callCustomCreator(string $driver, array $options = []) { return $this->buildSession(parent::callCustomCreator($driver, $options)); }