code: public function filter(OptionsInterface $options, $value)
      {
          if (is_string($value)) {
              return $this->getConnectionInitializerByDescription($options, $value);
          } else {
              return $this->getConnectionInitializer($options, $value);
          }
      }
docs: {@inheritdoc}