src/Database/Migration/Adapter/AdapterFactory.php
public function registerWrapper($name, $class)
    {
        if (!is_subclass_of($class, WrapperInterface::class)) {
            throw new \RuntimeException(sprintf(
                'Wrapper class "%s" must be implement ' . WrapperInterface::class,
                $class
            ));
        }
        $this->wrappers[$name] = $class;

        return $this;
    }
public function registerWrapper($name, $class)
    {
        if (!is_subclass_of($class, WrapperInterface::class)) {
            throw new \RuntimeException(sprintf(
                'Wrapper class "%s" must be implement ' . WrapperInterface::class,
                $class
            ));
        }
        $this->wrappers[$name] = $class;

        return $this;
    }
public function registerWrapper ( $ name , $ class ) { if ( ! is_subclass_of ( $ class , WrapperInterface :: class ) ) { throw new \ RuntimeException ( sprintf ( 'Wrapper class "%s" must be implement ' . WrapperInterface :: class , $ class ) ) ; } $ this -> wrappers [ $ name ] = $ class ; return $ this ; }
Add or replace a wrapper with a fully qualified class name.

@throws \RuntimeException

@param  string $name
@param  string $class

@return $this
Add or replace a wrapper with a fully qualified class name .