class FilesystemCacheFactory implements CacheFactory (View source)

Properties

protected string $directory

Methods

public
__construct(string $directory)

No description

public
object
create(string $service, array $params = [])

No description

Details

__construct(string $directory)

No description

Parameters

string $directory

object create(string $service, array $params = [])

No description

Parameters

string $service

The class name of the service.

array $params

The constructor parameters.

Return Value

object

The created service instances.