TYPO3  7.6
Static Public Member Functions | Static Protected Attributes | List of all members
StorageFactory Class Reference

Static Public Member Functions

static getStorage ()
 
static setPreferredStorage ($preferredStorage)
 

Static Protected Attributes

static $preferredStorage = \TYPO3\CMS\Rsaauth\Storage\SplitStorage::class
 
static $storageInstance = null
 

Detailed Description

This class contains a factory for the RSA backends.

Definition at line 20 of file StorageFactory.php.

Member Function Documentation

static getStorage ( )
static

Obtains a storage. This function will return a non-abstract class, which is derived from . Applications should not use any methods that are not declared in the .

Returns
A storage

Definition at line 49 of file StorageFactory.php.

static setPreferredStorage (   $preferredStorage)
static

Sets the preferred storage to the factory. This method can be called from another extension or ext_localconf.php

Parameters
string$preferredStoragePreferred storage
Returns
void

Definition at line 64 of file StorageFactory.php.

References StorageFactory\$preferredStorage.

Member Data Documentation

$preferredStorage = \TYPO3\CMS\Rsaauth\Storage\SplitStorage::class
staticprotected

Definition at line 29 of file StorageFactory.php.

Referenced by StorageFactory\setPreferredStorage().

$storageInstance = null
staticprotected

Definition at line 40 of file StorageFactory.php.