lib/MwbExporter/Bootstrap.php
public function getStorage($name)
    {
        $class = sprintf('\\MwbExporter\\Storage\\%sStorage', ucfirst($name));
        if (class_exists($class)) {
            $storage = new $class();

            return $storage;
        }

        throw new \InvalidArgumentException(sprintf('Storage %s not found.', $class));
    }
public function getStorage($name)
    {
        $class = sprintf('\\MwbExporter\\Storage\\%sStorage', ucfirst($name));
        if (class_exists($class)) {
            $storage = new $class();

            return $storage;
        }

        throw new \InvalidArgumentException(sprintf('Storage %s not found.', $class));
    }
public function getStorage ( $ name ) { $ class = sprintf ( '\\MwbExporter\\Storage\\%sStorage' , ucfirst ( $ name ) ) ; if ( class_exists ( $ class ) ) { $ storage = new $ class ( ) ; return $ storage ; } throw new \ InvalidArgumentException ( sprintf ( 'Storage %s not found.' , $ class ) ) ; }
Get storage.

@param string $name  The storage name
@return \MwbExporter\Storage\StorageInterface
Get storage .