PHP Interface Webiny\Component\Cache\Bridge\StorageInterface

Afficher le fichier Open project: Webiny/Framework

Méthodes publiques

Méthode 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 méthode

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

setLibrary() public static méthode

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