private function getFullYamlConfig()
{
return <<<'EOF'
clients:
default:
type: predis
alias: default
dsn: redis://localhost
logging: true
options:
profile: 2.0
prefix: snc:
cache:
type: predis
alias: cache
dsn: redis://localhost/1
logging: true
monolog:
type: predis
alias: monolog
dsn: redis://localhost/1
logging: false
cluster:
type: predis
alias: cluster
dsn:
- redis://127.0.0.1/1
- redis://127.0.0.2/2
- redis://pw@/var/run/redis/redis-1.sock/10
- redis://[email protected]:63790/10
options:
profile: 2.4
connection_timeout: 10
connection_persistent: true
read_write_timeout: 30
iterable_multibulk: false
throw_errors: true
cluster: Snc\RedisBundle\Client\Predis\Connection\PredisCluster
replication: false
session:
client: default
prefix: foo
ttl: 1440
doctrine:
metadata_cache:
client: cache
entity_manager: default
document_manager: default
result_cache:
client: cache
entity_manager: [default, read]
document_manager: [default, slave1, slave2]
namespace: "dcrc:"
query_cache:
client: cache
entity_manager: default
document_manager: default
second_level_cache:
client: cache
entity_manager: default
document_manager: default
monolog:
client: monolog
key: monolog
swiftmailer:
client: default
key: swiftmailer
profiler_storage:
client: default
ttl: 3600
EOF;
}