From 15a00ea80746e1b93a5964807a2a6f63143758d3 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Sun, 14 Sep 2014 17:30:47 +0200 Subject: [PATCH] Clearing cache by `--id`, `--regex`, `--prefix` and `--suffix` is not supported anymore. --- docs/en/reference/caching.rst | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/docs/en/reference/caching.rst b/docs/en/reference/caching.rst index 0f18e8a20..b0cb260b8 100644 --- a/docs/en/reference/caching.rst +++ b/docs/en/reference/caching.rst @@ -410,39 +410,6 @@ When you use the ``--result`` option you can use some other options to be more specific about which queries' result sets you want to clear. -Just like the API of the cache drivers you can clear based on an -ID, regular expression, prefix or suffix. - -.. code-block:: php - - $ ./doctrine clear-cache --result --id=cache_id - -Or if you want to clear based on a regular expressions: - -.. code-block:: php - - $ ./doctrine clear-cache --result --regex=users_.* - -Or with a prefix: - -.. code-block:: php - - $ ./doctrine clear-cache --result --prefix=users_ - -And finally with a suffix: - -.. code-block:: php - - $ ./doctrine clear-cache --result --suffix=_my_account - -.. note:: - - Using the ``--id``, ``--regex``, etc. options with the - ``--query`` and ``--metadata`` are not allowed as it is not - necessary to be specific about what you clear. You only ever need - to completely clear the cache to remove stale entries. - - Cache Slams -----------