class L1CacheFactory (View source)

Class encapsulating the creation logic for all L1 cache driver instances.

Methods

L1
create(string $driverName = null, string $customPool = null)

L1 cache drivers const

Details

at line line 31
L1 create(string $driverName = null, string $customPool = null)

L1 cache drivers const

Parameters

string $driverName Name of the L1 driver implementation to create. One of the DRIVER_* class constants.
string $customPool Pool ID to use for the data separation.

Return Value

L1 Concrete instance that confirms to an L1 interface.