Phraseanet PHP SDK API
Class

PhraseanetSDK\Recorder\Storage\StorageFactory

class StorageFactory

Methods

__construct(CacheFactoryInterface $cacheFactory)

StorageInterface create(string $type, array $options)

Creates a StorageInterface

Details

at line 22
public __construct(CacheFactoryInterface $cacheFactory)

Parameters

CacheFactoryInterface $cacheFactory

at line 38
public StorageInterface create(string $type, array $options)

Creates a StorageInterface

Parameters

string $type
array $options

Return Value

StorageInterface

Exceptions

InvalidArgumentException
RuntimeException