8000 [Cache] Document "framework.cache" nodes by geoffrey-brier · Pull Request #7245 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Cache] Document "framework.cache" nodes #7245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Minor fixes
  • Loading branch information
javiereguiluz authored Dec 23, 2016
commit bf565594c9ebeafaed5fba7f019eda71d9f2e3a3
19 changes: 10 additions & 9 deletions reference/configuration/framework.rst
8000
Original file line number Diff line number Diff line change
Expand Up @@ -1474,47 +1474,48 @@ app

**type**: ``string`` **default**: ``cache.adapter.filesystem``

The cache adapter behind the ``cache.app`` service.
The cache adapter used by the ``cache.app`` service.

.. note::

The framework bundle ships with multiple adapters : apcu, doctrine, system, filesystem, psr6, redis.
The framework bundle ships with multiple adapters: apcu, doctrine, system,
filesystem, psr6, and redis.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This note content should be added to the setting description imo


system
......

**type**: ``string`` **default**: ``cache.adapter.system``

The cache adapter behind the ``cache.system`` service.
The cache adapter used by the ``cache.system`` service.

directory
.........

**type**: ``string`` **default**: ``%kernel.cache_dir%/pools``

The path to the cache directory used by services inheriting from the ``cache.adapter.filesystem`` adapter
(including ``cache.app``).
The path to the cache directory used by services inheriting from the
``cache.adapter.filesystem`` adapter (including ``cache.app``).

default_doctrine_provider
.........................

**type**: ``string``

The service name to use as your default doctrine provider.
The service name to use as your default Doctrine provider.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add the service name of this "default provider": "This is available as cache.doctrine service."


default_psr6_provider
.....................

**type**: ``string`` **default**: ``%kernel.cache_dir%/pools``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default should be removed


The service name to use as your default psr6 provider.
The service name to use as your default PSR-6 provider.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here: "This is available as cache.psr6 service"


default_redis_provider
......................

**type**: ``string`` **default**: ``redis://localhost``

The dsn to use by the redis provider.
The dsn to use by the Redis provider.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...and here: "This is available as cache.redis service"


pools
.....
Expand Down Expand Up @@ -1555,7 +1556,7 @@ default_lifetime

**type**: ``integer``

Default lifetime of your cache items.
Default lifetime of your cache items in seconds.

provider
########
Expand Down
0