original_string: protected function getAbstractOptions()
      {
          $optClass = self::getOptionsFullQualifiedClassName($this->adapter);
          // Does the option class exist?
          if (!class_exists($optClass)) {
              throw new Exception\DomainException(
                  sprintf(
                      '"%s" expects that an options class ("%s") for the current adapter exists',
                      __METHOD__,
                      $optClass
                  )
              );
          }
          $opts = new $optClass();
          if (!$opts instanceof AbstractOptions) {
              throw new Exception\DomainException(sprintf(
                  '"%s" expects the options class to resolve to a valid "%s" instance; received "%s"',
                  __METHOD__,
                  'Zend\Stdlib\AbstractOptions',
                  $optClass
              ));
          }
          return $opts;
      }
code: protected function getAbstractOptions()
      {
          $optClass = self::getOptionsFullQualifiedClassName($this->adapter);
          // Does the option class exist?
          if (!class_exists($optClass)) {
              throw new Exception\DomainException(
                  sprintf(
                      '"%s" expects that an options class ("%s") for the current adapter exists',
                      __METHOD__,
                      $optClass
                  )
              );
          }
          $opts = new $optClass();
          if (!$opts instanceof AbstractOptions) {
              throw new Exception\DomainException(sprintf(
                  '"%s" expects the options class to resolve to a valid "%s" instance; received "%s"',
                  __METHOD__,
                  'Zend\Stdlib\AbstractOptions',
                  $optClass
              ));
          }
          return $opts;
      }
code_tokens: protected function getAbstractOptions ( ) { $ optClass = self :: getOptionsFullQualifiedClassName ( $ this -> adapter ) ; // Does the option class exist? if ( ! class_exists ( $ optClass ) ) { throw new Exception \ DomainException ( sprintf ( '"%s" expects that an options class ("%s") for the current adapter exists' , __METHOD__ , $ optClass ) ) ; } $ opts = new $ optClass ( ) ; if ( ! $ opts instanceof AbstractOptions ) { throw new Exception \ DomainException ( sprintf ( '"%s" expects the options class to resolve to a valid "%s" instance; received "%s"' , __METHOD__ , 'Zend\Stdlib\AbstractOptions' , $ optClass ) ) ; } return $ opts ; }
docstring: Instantiate and retrieve the options of the current adapter
  
  It also checks that an appropriate options class exists.
  
  @return AbstractOptions
docstring_tokens: Instantiate and retrieve the options of the current adapter