original_string: public static function getOptionsFullQualifiedClassName($adapter)
      {
          if (!$adapter) {
              throw new Exception\InvalidArgumentException(sprintf(
                  '"%s" unable to load adapter; adapter not found',
                  __METHOD__
              ));
          }
          if (!$adapter instanceof ConversionAlgorithmInterface) {
              throw new Exception\InvalidArgumentException(sprintf(
                  '"%s" expects an instance of ConversionAlgorithmInterface; received "%s"',
                  __METHOD__,
                  is_object($adapter) ? get_class($adapter) : gettype($adapter)
              ));
          }
  
          $adapterClass = get_class($adapter);
          $namespace = substr($adapterClass, 0, strrpos($adapterClass, '\\'));
          return $namespace . '\\Options\\' . $adapter->getName() . 'Options';
      }
code: public static function getOptionsFullQualifiedClassName($adapter)
      {
          if (!$adapter) {
              throw new Exception\InvalidArgumentException(sprintf(
                  '"%s" unable to load adapter; adapter not found',
                  __METHOD__
              ));
          }
          if (!$adapter instanceof ConversionAlgorithmInterface) {
              throw new Exception\InvalidArgumentException(sprintf(
                  '"%s" expects an instance of ConversionAlgorithmInterface; received "%s"',
                  __METHOD__,
                  is_object($adapter) ? get_class($adapter) : gettype($adapter)
              ));
          }
  
          $adapterClass = get_class($adapter);
          $namespace = substr($adapterClass, 0, strrpos($adapterClass, '\\'));
          return $namespace . '\\Options\\' . $adapter->getName() . 'Options';
      }
code_tokens: public static function getOptionsFullQualifiedClassName ( $ adapter ) { if ( ! $ adapter ) { throw new Exception \ InvalidArgumentException ( sprintf ( '"%s" unable to load adapter; adapter not found' , __METHOD__ ) ) ; } if ( ! $ adapter instanceof ConversionAlgorithmInterface ) { throw new Exception \ InvalidArgumentException ( sprintf ( '"%s" expects an instance of ConversionAlgorithmInterface; received "%s"' , __METHOD__ , is_object ( $ adapter ) ? get_class ( $ adapter ) : gettype ( $ adapter ) ) ) ; } $ adapterClass = get_class ( $ adapter ) ; $ namespace = substr ( $ adapterClass , 0 , strrpos ( $ adapterClass , '\\' ) ) ; return $ namespace . '\\Options\\' . $ adapter -> getName ( ) . 'Options' ; }
docstring: Recreate the full qualified class name of options class for the supplied adapter
  
  @param ConversionAlgorithmInterface|null $adapter
  @return string
  @throws Exception\InvalidArgumentException
docstring_tokens: Recreate the full qualified class name of options class for the supplied adapter