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;
    }
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;
    }
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 ; }
Instantiate and retrieve the options of the current adapter

It also checks that an appropriate options class exists.

@return AbstractOptions
Instantiate and retrieve the options of the current adapter