PHP Class Horde_Core_Factory_Cache, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Core_Factory_Injector
Datei anzeigen Open project: horde/horde

Public Properties

Property Type Description
$storage Horde_Cache_Storage Contains the storage driver used by the Cache object.

Public Methods

Method Description
create ( Horde_Injector $injector ) : Horde_Cache Return the global Horde_Cache instance.
getDriverName ( ) : string Return the driver name.

Protected Methods

Method Description
_getStorage ( string $driver, array $params ) : Horde_Cache_Storage_Base Create the Cache storage backend.

Method Details

_getStorage() protected method

Create the Cache storage backend.
protected _getStorage ( string $driver, array $params ) : Horde_Cache_Storage_Base
$driver string The storage driver name.
$params array The storage backend parameters.
return Horde_Cache_Storage_Base A cache storage backend.

create() public method

Return the global Horde_Cache instance.
public create ( Horde_Injector $injector ) : Horde_Cache
$injector Horde_Injector
return Horde_Cache Cache object.

getDriverName() public method

Return the driver name.
Since: 2.5.0
public getDriverName ( ) : string
return string Lowercase driver name.

Property Details

$storage public_oe property

Contains the storage driver used by the Cache object.
Since: 2.5.0
public Horde_Cache_Storage $storage
return Horde_Cache_Storage