Documentation

CacheConfig
in package

This class is automatically generated to help in creating a config.

Table of Contents

Properties

$_usedProperties  : mixed
$app  : mixed
$defaultDoctrineDbalProvider  : mixed
$defaultMemcachedProvider  : mixed
$defaultPdoProvider  : mixed
$defaultPsr6Provider  : mixed
$defaultRedisProvider  : mixed
$directory  : mixed
$pools  : mixed
$prefixSeed  : mixed
$system  : mixed

Methods

__construct()  : mixed
app()  : $this
App related cache pools configuration
defaultDoctrineDbalProvider()  : $this
defaultMemcachedProvider()  : $this
defaultPdoProvider()  : $this
defaultPsr6Provider()  : $this
defaultRedisProvider()  : $this
directory()  : $this
pool()  : PoolConfig|$this
prefixSeed()  : $this
Used to namespace cache keys when using several apps with the same shared backend
system()  : $this
System related cache pools configuration
toArray()  : array<string|int, mixed>

Properties

$_usedProperties

private mixed $_usedProperties = []

$defaultDoctrineDbalProvider

private mixed $defaultDoctrineDbalProvider

$defaultMemcachedProvider

private mixed $defaultMemcachedProvider

$defaultPdoProvider

private mixed $defaultPdoProvider

$defaultPsr6Provider

private mixed $defaultPsr6Provider

$defaultRedisProvider

private mixed $defaultRedisProvider

Methods

__construct()

public __construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
$value : array<string|int, mixed> = []

pool()

public pool(string $name[, mixed $value = [] ]) : PoolConfig|$this
Parameters
$name : string
$value : mixed = []
Return values
PoolConfig|$this

prefixSeed()

Used to namespace cache keys when using several apps with the same shared backend

public prefixSeed(ParamConfigurator|mixed $value) : $this
Parameters
$value : ParamConfigurator|mixed
Tags
example

my-application-name/%kernel.environment%

default

'_%kernel.project_dir%.%kernel.container_class%'

Return values
$this

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results