PHP Interface Webiny\Component\Cache\Bridge\StorageInterface

Show file Open project: Webiny/Framework

Public Methods

Method Description
getLibrary ( ) : string Get the name of bridge library which will be used as the driver.
setLibrary ( string $pathToClass ) Change the default library used for the driver.

Method Details

getLibrary() public static method

Get the name of bridge library which will be used as the driver.
public static getLibrary ( ) : string
return string

setLibrary() public static method

Change the default library used for the driver.
public static setLibrary ( string $pathToClass )
$pathToClass string Path to the new driver class. Must be an instance of \Webiny\Component\Cache\Bridge\CacheInterface